删掉 本地仓库 repository\org\springframework\boot 目录下的spring-boot-autoconfigure 文件夹,然后在工程中maven -> update project


 创建springboot启动类时 @SpringBootApplication无法被引入

相关文章: