其他分享
首页 > 其他分享> > @SpringBootApplication cannot be resolved to a type In STS

@SpringBootApplication cannot be resolved to a type In STS

作者:互联网

@SpringBootApplication cannot be resolved to a type In STS @SpringBootApplication cannot be resolved to a type In STS

 学习了:https://stackoverflow.com/questions/41668819/springbootapplication-cannot-be-resolved-to-a-type-in-sts

找到maven仓库目录 C:\Users\YourUser\.m2\repository\org\springframework\boot ,

然后删除:spring-boot-autoconfigure 文件夹;

然后回到eclipse中进行maven - update project

 

This solved the problem for me too.

 

标签:resolved,SpringBootApplication,boot,cannot,STS,type
来源: https://blog.51cto.com/u_15241951/2853195