The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indire

淩亂°似流年 2022-05-14 04:09 234阅读 0赞

新构建一个项目
出现如下异常
The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

  1. The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files

这里写图片描述
解决方案:
进入项目pom.xml所在目录
执行cmd命令
在命令行中输入:

  1. mvn dependency:purge-local-repository

将会重新下载依赖,问题将会得到解决。

发表评论

表情:
评论列表 (有 0 条评论,234人围观)

还没有评论,来说两句吧...

相关阅读