springboot项目报错:org.springframework.context.ConfigurableApplicationContext cannot be resolved

新建SpringBoot项目报错:org.springframework.context.ConfigurableApplicationContext cannot be resolved

解决方法是:通过cmd命令进入到dos系统,切换到springboot项目下,运行以下命令:

mvn dependency:purge-local-repository

运行结束后,发现项目不报错了

发布了38 篇原创文章 · 获赞 11 · 访问量 1595

猜你喜欢

转载自blog.csdn.net/weixin_44247784/article/details/104094654
今日推荐