The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced
今天使用Spring Cloud + Mybatis Plus3.x 搭建微服务项目时,提示如下错误信息:
The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced from required .class files
解决思路:
1、 第一反应是缺失spring-tx-5.3.5.jar包,我检查项目了项目的maven 依赖发现该spring-tx-5.3.5.jar包存在,并且已经加载到我的项目依赖中:
pom.xml Dependency Hierarchy 截图
项目maven 依赖jar 包截图
更新maven 项目依赖没有解决上述问题
2、第二本地maven 仓库环境问题导致jar 无法正常加载。
我查看了本地maven 仓库地址:C:\Users\zzg\.m2\repository\org\springframework\spring-tx\5.3.5
发现事务文件中多了一个奇怪的文件,忘记截图,这里就不粘贴出来了。
清空spring-tx\5.3.5 文件夹,重新更新maven 项目依赖,解决上述问题。
The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly referenced相关推荐
- 问题31 :The type org.springframework.dao.DataAccessException cannot be resolved. It is indirectly refe
问题描述: 在学习Spring中JdbcTemplate时,出现了以下这个错误: The type org.springframework.dao.DataAccessException cannot ...
- The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced fro
今天将一个web项目导入Eclipse的时候,项目报错如下: The type javax.servlet.http.HttpServletRequest cannot be resolved. It ...
- The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from
The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from ...
- spring4报错Caused by: java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException
错误描述: Caused by: java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException 系统没有找到D ...
- eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from r
问题:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class fi ...
- The type android.support.v4.view.ScrollingView cannot be resolved. It is indirectly referenced from
前几天另一个项目使用RecyclerView控件,引用类库然后继承一切都很顺序 详细:http://www.cnblogs.com/freexiaoyu/p/5022602.html 今天打算将另一个 ...
- The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly
The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly 博客分类: 解决方案_Java 问题描述:The ...
- The type java.lang.Object cannot be resolved It is indirectly referenced ... .
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files ...
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
使用eclipse 创建java工程写代码时报错:The type java.lang.Object cannot be resolved. It is indirectly referenced f ...
最新文章
- Daivik VM 和 JVM 的比较
- python 发布包_如何将自己的Python包发布到PyPI
- [转]SQL注入攻防入门详解
- 在多个游戏视图间切换环境准备
- [2017BUAA软工]结对项目:数独扩展
- Codeforces Round #459 (Div. 2) C 思维,贪心 D 记忆化dp
- linux操作系统进程间通信IPC之管道pipe及FIFO
- 编制一个c语言成绩记录簿_C语言基础知识点模拟试题
- hawq state 报错: the database is down, but Ambari shows all hawq services as being
- python坐标系不均匀_Python处理不平衡数据
- python基础之函数当中的装饰器
- PostgreSQL初学
- Keepfast 是前端一个性能分析工具
- 从Asp.net实现资源全球化和本地化
- 测绘的行业标准规范和国家标准全部可下载
- 【已解决】java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
- 【工具】1343- NVS —— js 实现的node版本管理工具
- openLayers6系列理论基础——Layer数据源source篇
- python姿态检测实现多人多姿态识别python行为识别openpose行为骨骼框架检测动作识别动作检测行为动作分类
- 【百问网7天物联网智能家居】训练营学习笔记(七)
热门文章
- 从城市场景语义分割数据集中划分出自动驾驶领域道路分割数据集类别中遇到的问题
- FPGA开发基本流程详解
- 二陈丸配什么吃不上火_什么样的人群不适合吃二陈丸?
- 基于springboot的高校办公室会议行政事务管理系统(mysql)-JAVA.VUE【数据库设计、论文、源码、开题报告】
- 解决高并发下Redis连接失败redis.clients.jedis.exceptions.JedisConnectionException Attempting to read from a bro
- 李青云老人的长寿秘诀【转】
- [附源码]计算机毕业设计4S店汽车售后服务管理系统Springboot程序
- 创意小发明:单片机制作电容电阻测量仪 (含C语言原源码,仿真文件与实物图)
- 梅科尔工作室—罗森—鸿蒙笔记4
- web前端-css边框(border)