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相关推荐

  1. 新建springBoot项目提示:The type org.springframework.context.ConfigurableApplicationContext cannot be resol

    场景 在Eclipse中新建SpringBoot项目后提示: 解决 关掉Eclipse 进入到项目所在目录. 在此目录下打开cmd,windows下是按住shift,然后点击鼠标右键,选择在此处打开命 ...

  2. The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced

    今天使用Spring Cloud + Mybatis Plus3.x 搭建微服务项目时,提示如下错误信息: The type org.springframework.dao.DataAccessExc ...

  3. 问题31 :The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly refe

    问题描述: 在学习Spring中JdbcTemplate时,出现了以下这个错误: The type org.springframework.dao.DataAccessException cannot ...

  4. 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 ...

  5. 【Spring 定时器】Spring 定时器 No qualifying bean of type [org.springframework.scheduling.TaskScheduler]

    Spring 定时器 No qualifying bean of type [org.springframework.scheduling.TaskScheduler] is defined 2016 ...

  6. java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext崩溃解决

    java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext 崩溃了,这到底咋整啊?我弄了快8个小时了, ...

  7. The type org.springframework...DaoSupport cannot be resolved. It is indirectly..

    http://hi.baidu.com/abolo1990/item/f276e40a6c85270f6c9048ad 在整合[hibernate]和[spring]的时候出现以下异常:The hie ...

  8. java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware

    最近整理了struts常用的jar包和配置文件,新建项目习惯性的把整个文件夹拷贝进去,启动tomcat报如下错误: Caused by: java.lang.NoClassDefFoundError: ...

  9. Tomcat启动Maven项目异常:java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext

    Tomcat启动Maven项目异常:java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext 参考文 ...

最新文章

  1. ThreadPoolExecutor 八种拒绝策略,对的,不是4种!
  2. 【温故知新】CSS学习笔记(字体样式属性)附加篇
  3. HTML marquee标签详解
  4. 使内嵌式jetty服务器支持jsp
  5. 必要商城MySQL开发规范
  6. 图推荐算法在EE问题上的应用
  7. LAMP(7限定某个目录禁止解析php、 限制user_agent、 PHP相关配置、PHP扩展模块
  8. httrack 拷贝网站到本地(好东西,但是发现考的不全)
  9. 《C和指针》——字符串操作补、字符串内存操作
  10. 应用 | 同学,该学MyCat实际应用案例与MyCat读写分离了
  11. 阿里大牛总结:学会这些Kafka知识,吊打面试官就是分分钟的事
  12. PNG文件格式具体解释
  13. JAVA学习IO(1)
  14. HDU2795 billboard【转化为线段树。】
  15. 数据结构------图-----深度广度优先遍历
  16. 《舰在亚丁湾》 “海军特战队”央视电视剧起航
  17. 最新Activity与Fragment完全理解
  18. 机器学习(六):支持向量机(SVM)
  19. 疟疾识别图像数据集(27000张图像,2类图像)
  20. DAX函数十大分类及示例

热门文章

  1. 一些面试时候可能遇到的问题
  2. 如何写一对多分页的SQL
  3. AIBlockChain:“知名博主独家讲授”人工智能创新应用竞赛【精选实战作品】之《基于计算机视觉、自然语言处理和区块链技术的乘客智能报警系统》案例的界面简介、功能介绍分享之汽车驾驶乘客自动报警
  4. 医院系统实施-经验整理(持续更新)
  5. 梯度下降法与反向传播法
  6. 机器人集群编队决策规划
  7. 大型行业网站如何运营推广?
  8. 公务员备考(二十) 申论
  9. Python文本文件操作
  10. 手把手教你创造3D奇迹