创建spring boot 项目 报错 :

创建spring boot 项目 报错 : The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

解决方案:

Go to the directory of your project on the command line.
Make sure your POM.xml is in the same directory as your command line
Run the command
    mvn dependency:purge-local-repository
If you receive build successful message, means the error has been resolved.
If error is still there, delete your (~/.m2/repository/org/springframework) folder and run mvn package


猜你喜欢

转载自blog.csdn.net/weixin_38783189/article/details/78932017