当前位置:网站首页>Error parsing mapper XML
Error parsing mapper XML
2022-06-10 22:12:00 【A Sheng】
Error parsing Mapper XML
This error report is essentially mapper.xml There is an error
The same thing failed resolve xxx.xml etc.
Some of the analysis here won't be popular when writing , Start the problem of error reporting
1、id Conflict
The conflicts here are
resultMap
<resultMap type="com.newtouch.business.module.dto.T01agentComDTO" id="t01agentComMap">
<resultMap type="com.cpi.newtouch.business.module.dto.T01comDTO" id="t01agentComMap">
Concrete sql
<select id="findBy" >
<update id="findBy">
As long as there are more than two id identical , You're going to report a mistake , This is usually caused by copying and pasting without paying attention , Need to be serious !
2、 Return type error
<resultMap type="com.newtouch.business.module.dto.T01agentComDTO" id="t01agentComMap">
<select id="findBy" resultType="t01agentComMap">
Like here , I'm going back to resultMap, But it did resultType
The same goes for example, return string type , But what I wrote was resultMap , You will also report mistakes.
3、 Did not write the full class name
<resultMap type="com.newtouch.business.module.dto.T01agentComDTO" id="t01agentComMap">
Or the resultMap , If I write it like this
<resultMap type="T01agentComDTO" id="t01agentComMap">
You're going to report a mistake , Of course, if relevant settings are configured
边栏推荐
- Part 7: Lesson 2 general skills of consultants - how to install and uninstall SAP ERP system client
- Ajout, suppression et modification des données du tableau [MySQL] (DML)
- C language -- 1 c language cognition
- Array remove duplicates from an array
- 数组 两数之和
- 2022-06-09 RK817 PMU 電池溫度檢測
- [nk] 牛客月赛51 G计算题
- 2022-06-09 rk817 PMU battery temperature detection
- SoC development environment and hardware development preparation
- Array rotates the array from bits of the specified length
猜你喜欢

SoC development environment and hardware development preparation
一次SQL查询优化原理分析(900W+数据从17s到300ms)

In 2021, the average salary will be released, and the IT industry will not be surprised

解读创客空间下的教育新生态

Mysql的回表查询?如何避免?

Interpreting the new ecology of education in maker space

Detailed explanation of Lora module wireless transceiver communication technology

If else is too easy to use? (understanding this article will further improve your logic)

Abbexa 8-OHdG CLIA kit solution
![[nk] 牛客月赛51 F-平均题](/img/b3/c36a0032e606f38fdc2f7c4562713c.png)
[nk] 牛客月赛51 F-平均题
随机推荐
How to realize the marketing purpose of small program integral mall
AI blessing real-time interaction | analysis of zegoavatar facial expression following technology
Introduction to ZigBee module wireless transmission star topology networking structure
变量(自动变量、静态变量、寄存器变量、外部变量)与C的内存分配malloc/free、calloc/recalloc
CentOS7安装MySQL8的超级详细教程(无坑!)
用少儿编程思维塑造青少年领悟能力
About type-C
Anti shake and throttling
Summary of common mysql8 commands in centos7 environment
I'm doing something cool
数组 求上升区间的高度和
Mysql之將查詢結果插入到其它錶中
. Net open source free lunch is over?
Course design of imitation pottery ticket of wechat applet
[C] overide can override the virtual method inherited from a higher parent
在模仿学习中进步的智能机器人
Can I make up the exam if I fail the soft exam? Here comes the answer
Array rotates the array from bits of the specified length
2022-06-09 RK817 PMU 電池溫度檢測
Exec function of PHP