当前位置:网站首页>Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
Cause: org. apache. ibatis. builder. Builderexception: error parsing SQL mapper configuration problem analysis
2022-07-03 10:58:00 【33-Hope】
Errors are common , There are too many reasons for the problem , Here is how to find
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
Cause: org.apache.ibatis.builder.BuilderException: Error resolving class.
Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias ''.
Cause: java.lang.ClassNotFoundException: Cannot find class:
First of all, when making such a mistake , The console will output you more detailed error information to tell you what mistakes you have made :
The first two lines tell you Mapper Configuration Unable to resolve . Okay , The probability is in your configuration Mapper Of xml In file ( I was in mybatis The configuration of xml in )
Then the third line tells you that you can't solve ’ ’ This type of :
’ ’ What kind of ? The type of a quotation mark ? Obviously xml I didn't write in some places , What remains is empty ‘ ’. Okay , You can see xml In some places , You can find that you really haven't written
Empathy : In the analysis of a
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration.
Cause: org.apache.ibatis.builder.BuilderException: Error resolving class.
Cause: ....Unknown DataSource property: driverClass
....
1. The meaning of the first two sentences is the same , The configuration file cannot be resolved . I'll just skip to configuration mapper Of xml In the
2. The third sentence is unrecognizable DataSource label :property label (driverClass)
Be careful : Here I use direct jdbc The driver account password and other four tags are directly written in xml in , There is no way to use configuration files . So here property It should be ordinary driver:( If you are a configuration file , Please keep consistent with the configuration file )
边栏推荐
- UI自动化测试如何走出困境?价值又如何体现?
- 软件测试——Redis数据库
- Redis notes 01: Introduction
- QT: QSS custom qtabwidget and qtabbar instances
- How to realize automatic testing in embedded software testing?
- QT:QSS自定义QTableView实例
- Snownlp emotion analysis
- 2022 pinduogai 100000 sales tutorial
- C language project: student achievement system
- Qt:qss custom qgroupbox instance
猜你喜欢

8年测试总监的行业思考,看完后测试思维认知更深刻

T5 的尝试

QT:QSS自定义 QTabWidget 和 QTabBar实例

帶你走進雲原生數據庫界扛把子Amazon Aurora
The normal one inch is 25.4 cm, and the image field is 16 cm

【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解

Qt:qss custom qpprogressbar instance

QT: QSS custom qtableview instance

月薪过万的测试员,是一种什么样的生活状态?

现在零基础转行软件测试还OK吗?
随机推荐
Use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
DAY 7 小练习
QT: QSS custom qsplitter instance
Unity group engineering practice project "the strongest takeaway" planning case & error correction document
The highest monthly salary of 18K has a good "mentality and choice", and success is poor "seriousness and persistence"~
嵌入式软件测试怎么实现自动化测试?
Multiple IO transfer - preamble
Qt:qss custom qlistview instance
Interviewer: what is the internal implementation of the list in redis?
The normal one inch is 25.4 cm, and the image field is 16 cm
Numpy quick start (IV) -- random sampling and general functions
8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
独家分析 | 关于简历和面试的真 相
如何在游戏中制作一个血条
大型电商项目-环境搭建
《通信软件开发与应用》
Extern keyword
测试理论概述
sqlmap基本使用方法
Promoted, colleagues become subordinates and don't cooperate with work