当前位置:网站首页>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 qheaderview instance
- Buy health products for parents
- 8年测试总监的行业思考,看完后测试思维认知更深刻
- “测试人”,有哪些厉害之处?
- C语言项目:学生成绩系统
- UI interface design related knowledge (I)
- Qt:qss custom qlistview instance
- MySQL checks for automatic updates at 0:00 every day
- Numpy quick start (III) -- array advanced operation
猜你喜欢

MySql 怎么查出符合条件的最新的数据行?
The normal one inch is 25.4 cm, and the image field is 16 cm

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

How does MySQL find the latest data row that meets the conditions?

如何在游戏中制作一个血条

Differences among norm, normalize and normalized in eigen

软件测试——Redis数据库

Take you into the cloud native database industry, Amazon Aurora

STM32F1与STM32CubeIDE编程实例-TM1637驱动4位7段数码管

How to monitor the incoming and outgoing traffic of the server host?
随机推荐
软件测试必学基本理论知识——APP测试
Wechat applet training notes 1
In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
Bid -- service commitment -- self summary
Qt:qss custom qscrollbar instance
嵌入式軟件測試怎麼實現自動化測試?
Some abilities can't be learned from work. Look at this article, more than 90% of peers
QT:QSS自定义QHeaderView实例
How to make a blood bar in the game
Qt:qss custom qlineedit instance
缓存路由组件
2022 pinduogai 100000 sales tutorial
[roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B
Qt:qss custom qradiobutton instance
Redis notes 01: Introduction
Is it OK to test the zero basis software?
我,大厂测试员,降薪50%去国企,后悔了...
Flink -- 内置函数(ALL)
QT:QSS自定义 QScrollBar实例
T5 attempt