The type org.springframework.context.ConfigurableApplicationContext cannot be resolved


转载:https://blog.csdn.net/wangchunyang51/article/details/80986714

解决方法:
Your maven cache is corrupted. To resolve this problem, follow the steps below:

***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***

定位到POM所在文件夹,右击项目,选择property,定位到文件夹,然后CD,运行下面的命令。

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM