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