1.检查Spring Boot插件 image.png 2.springboot相关文件识别不到,如yml配置文件 image.png 解决方案:pom.xml没有被maven管理,需要选中pom.xml,右键选择add as maven 3.yml配置文件识别到了,但是Run/Debug Configurations配置中没有SpingBoot启动类 image.png 解决方案:检查pom.xml文件的配置,移除相关配置,移除完刷新下maven即可 image.png