当前位置:网站首页>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 )
边栏推荐
- Basic theoretical knowledge of software testing -- app testing
- 帶你走進雲原生數據庫界扛把子Amazon Aurora
- If you always feel that you need to persist in learning English
- Numpy quick start (V) -- Linear Algebra
- Small file special
- Day 7 small exercise
- QT:QSS自定义 QTabWidget 和 QTabBar实例
- 2022 pinduogai 100000 sales tutorial
- 《通信软件开发与应用》
- Numpy quick start (III) -- array advanced operation
猜你喜欢

Data captured

Qt:qss custom qpprogressbar instance
![[roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B](/img/2a/c232b83e0acbb970884148bd2aadc1.png)
[roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B

Detailed cross validation and grid search -- sklearn implementation

“测试人”,有哪些厉害之处?

QT:QSS自定义 QTabWidget 和 QTabBar实例

Comment réaliser des tests automatisés pour les tests logiciels embarqués?

我,大厂测试员,降薪50%去国企,后悔了...

Large scale e-commerce project - environment construction

8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
随机推荐
How to make a blood bar in the game
QT:QSS自定义 QSpinBox实例
Que se passe - t - il ensuite pour ceux qui se sont concentrés sur les tests automatisés?
如何在游戏中制作一个血条
QT:QSS自定义QTableView实例
Numpy quick start (V) -- Linear Algebra
QT:QSS自定义 QStatusBar实例
The normal one inch is 25.4 cm, and the image field is 16 cm
QT:QSS自定义QListView实例
Day 7 small exercise
公司测试部门来了个00后卷王之王,老油条感叹真干不过,但是...
正常一英寸25.4厘米,在影像领域是16厘米
Do you really need automated testing?
C language project: student achievement system
ByteDance layoffs, test engineers were almost destroyed: how terrible is the routine behind the recruitment of large factories?
UI自动化测试如何走出困境?价值又如何体现?
硬 货 | 一改测试步骤代码就全写?为什么不试试用 Yaml实现数据驱动?
【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解
Redis 笔记 01:入门篇
Qt:qss custom qspinbox instance