当前位置:网站首页>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 )
边栏推荐
- Strategic management of project organization
- C语言项目:学生成绩系统
- 硬 货 | 一改测试步骤代码就全写?为什么不试试用 Yaml实现数据驱动?
- TypeScript学习总结
- Numpy quick start (III) -- array advanced operation
- QT:QSS自定义QTableView实例
- 有些能力,是工作中学不来的,看看这篇超过90%同行
- Qt:qss custom qmenu instance
- Use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
- 大型电商项目-环境搭建
猜你喜欢

《通信软件开发与应用》
![[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials](/img/e0/c2b1fbe99939d44201401abf1b5a72.png)
[true question of the Blue Bridge Cup trials 44] scratch eliminate the skeleton Legion children programming explanation of the true question of the Blue Bridge Cup trials

Traversal of map set

8年测试工程师总结出来的《测试核心价值》与《0基础转行软件测试超全学习指南》

Numpy quick start (II) -- Introduction to array (creation of array + basic operation of array)

ByteDance layoffs, test engineers were almost destroyed: how terrible is the routine behind the recruitment of large factories?

Interviewer: what is the internal implementation of the list in redis?

Multiple IO transfer - preamble

Programming examples of stm32f1 and stm32subeide -tm1637 drives 4-bit 7-segment nixie tubes

T5 attempt
随机推荐
First line of code kotlin notes
Exclusive analysis | truth about resume and interview
Qt:qss custom QSlider instance
Rollup, cube and grouping sets functions of grouping functions
QT:QSS自定义QGroupBox实例
分组函数之rollup、cube函数、grouping sets函数
软件测试必学基本理论知识——APP测试
【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解
我,大厂测试员,降薪50%去国企,后悔了...
Cache routing component
Mysql--索引原理+如何使用
How to make a blood bar in the game
QT:QSS自定义 QSpinBox实例
QT:QSS自定义 QSlider实例
Data captured
Basic usage of sqlmap
Numpy quick start (II) -- Introduction to array (creation of array + basic operation of array)
Differences among norm, normalize and normalized in eigen
What is the salary level of 17k? Let's take a look at the whole interview process of post-95 Test Engineers
现在零基础转行软件测试还OK吗?