The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indire
1.起因
导入maven项目,报如上错误。
2.造成原因
可能是因为maven项目下载jar包时出现中断,出现了一些过程文件,后缀为.sha1-in-progress。
3.解决方法
通过windows的cmd.exe进入到该项目与pom.xml同目录下运行命令-》mvn dependency:purge-local-repository
等待提示构建成功。
然后再 项目-》maven》update 就可以解决了!
The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indire相关推荐
- 新建springBoot项目提示:The type org.springframework.context.ConfigurableApplicationContext cannot be resol
场景 在Eclipse中新建SpringBoot项目后提示: 解决 关掉Eclipse 进入到项目所在目录. 在此目录下打开cmd,windows下是按住shift,然后点击鼠标右键,选择在此处打开命 ...
- The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced
今天使用Spring Cloud + Mybatis Plus3.x 搭建微服务项目时,提示如下错误信息: The type org.springframework.dao.DataAccessExc ...
- 问题31 :The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly refe
问题描述: 在学习Spring中JdbcTemplate时,出现了以下这个错误: The type org.springframework.dao.DataAccessException cannot ...
- spring boot 启动报错:No qualifying bean of type org.springframework.security.oauth2.provider.token.Toke
spring boot启动报错: Exception encountered during context initialization - cancelling refresh attempt: o ...
- 【Spring 定时器】Spring 定时器 No qualifying bean of type [org.springframework.scheduling.TaskScheduler]
Spring 定时器 No qualifying bean of type [org.springframework.scheduling.TaskScheduler] is defined 2016 ...
- java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext崩溃解决
java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext 崩溃了,这到底咋整啊?我弄了快8个小时了, ...
- The type org.springframework...DaoSupport cannot be resolved. It is indirectly..
http://hi.baidu.com/abolo1990/item/f276e40a6c85270f6c9048ad 在整合[hibernate]和[spring]的时候出现以下异常:The hie ...
- java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware
最近整理了struts常用的jar包和配置文件,新建项目习惯性的把整个文件夹拷贝进去,启动tomcat报如下错误: Caused by: java.lang.NoClassDefFoundError: ...
- Tomcat启动Maven项目异常:java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext
Tomcat启动Maven项目异常:java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext 参考文 ...
最新文章
- ThreadPoolExecutor 八种拒绝策略,对的,不是4种!
- 【温故知新】CSS学习笔记(字体样式属性)附加篇
- HTML marquee标签详解
- 使内嵌式jetty服务器支持jsp
- 必要商城MySQL开发规范
- 图推荐算法在EE问题上的应用
- LAMP(7限定某个目录禁止解析php、 限制user_agent、 PHP相关配置、PHP扩展模块
- httrack 拷贝网站到本地(好东西,但是发现考的不全)
- 《C和指针》——字符串操作补、字符串内存操作
- 应用 | 同学,该学MyCat实际应用案例与MyCat读写分离了
- 阿里大牛总结:学会这些Kafka知识,吊打面试官就是分分钟的事
- PNG文件格式具体解释
- JAVA学习IO(1)
- HDU2795 billboard【转化为线段树。】
- 数据结构------图-----深度广度优先遍历
- 《舰在亚丁湾》 “海军特战队”央视电视剧起航
- 最新Activity与Fragment完全理解
- 机器学习(六):支持向量机(SVM)
- 疟疾识别图像数据集(27000张图像,2类图像)
- DAX函数十大分类及示例