1.检查Spring Boot插件
![](https://img.haomeiwen.com/i6939417/4766c41d5e6a8059.png)
2.springboot相关文件识别不到,如yml配置文件
![](https://img.haomeiwen.com/i6939417/9512e3d02bb1a002.png)
解决方案:pom.xml没有被maven管理,需要选中pom.xml,右键选择add as maven
3.yml配置文件识别到了,但是Run/Debug Configurations配置中没有SpingBoot启动类
![](https://img.haomeiwen.com/i6939417/6152da1f74717dd4.png)
解决方案:检查pom.xml文件的配置,移除相关配置,移除完刷新下maven即可
![](https://img.haomeiwen.com/i6939417/f877f90a7c7bdd29.png)
本文标题:IDEA识别不出SpringBoot项目的几个处理
本文链接:https://www.haomeiwen.com/subject/dzniadtx.html
网友评论