当前位置:网站首页>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 )
边栏推荐
- Qt:qss custom qmenubar instance
- Comment réaliser des tests automatisés pour les tests logiciels embarqués?
- Windows security center open blank
- MySQL -- index principle + how to use
- QT:QSS自定义 QRadioButton实例
- Cache routing component
- Set ArrayList nested map set loop traversal
- The normal one inch is 25.4 cm, and the image field is 16 cm
- Flink -- built in function (all)
- Iterator iterator enhances for loop
猜你喜欢
![[ultra detailed] implement soft and hard interval SVM based on sklearn](/img/89/b9d03ec26239d88b641f76dc95b3cd.jpg)
[ultra detailed] implement soft and hard interval SVM based on sklearn

After 8 years of industry thinking, the test director has a deeper understanding of test thinking

UI自动化测试如何走出困境?价值又如何体现?

Unity learning notes: personal learning project "crazy genius Edgar" error correction document

. Net core - a queuing system for wechat official account

QT: QSS custom qtreeview instance

大型电商项目-环境搭建

8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
![[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
The normal one inch is 25.4 cm, and the image field is 16 cm
随机推荐
分组函数之rollup、cube函数、grouping sets函数
Game test related tests a hero's skills (spring moves are asked more questions)
QT:QSS自定义QToolButton实例
你真的需要自动化测试吗?
QT:QSS自定义QGroupBox实例
Qt:qss custom qlineedit instance
Rollup, cube and grouping sets functions of grouping functions
值得关注的15种软件测试趋势
Windows security center open blank
大型电商项目-环境搭建
Day 7 small exercise
Win10系统下提示“系统组策略禁止安装此设备”的解决方案(家庭版无组策略)
Detailed cross validation and grid search -- sklearn implementation
Flink--自定义函数
Que se passe - t - il ensuite pour ceux qui se sont concentrés sur les tests automatisés?
公司里只有一个测试是什么体验?听听他们怎么说吧
8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》
Take you into the cloud native database industry, Amazon Aurora
QT:QSS自定义 QMenuBar实例
Some abilities can't be learned from work. Look at this article, more than 90% of peers