1、The type org.springframework.context.ConfigurableApplicationContext cannot be resolved.
网上有很多帖子说在项目根目录下执行mvn dependency:purge-local-repository可解决,但执行了几次并没有什么效果。
后来找到对应的依赖包spring-context,发现该包损坏,删除spring-context本地依赖后重新构建,解决了问题。
1、The type org.springframework.context.ConfigurableApplicationContext cannot be resolved.
网上有很多帖子说在项目根目录下执行mvn dependency:purge-local-repository可解决,但执行了几次并没有什么效果。
后来找到对应的依赖包spring-context,发现该包损坏,删除spring-context本地依赖后重新构建,解决了问题。
转载于:https://my.oschina.net/u/2559275/blog/2988529