当加入@SpringBootApplication注解时,无法得到解析
错误提示:SpringBootApplication cannot be resolved to a type
错误原因是因为springboot的包冲突了所致。
需要删掉本地maven仓库 repository文件夹下的orgspringframeworkoot 目录下的spring-boot-autoconfigure 文件夹,
然后在工程中maven -> update project