当前位置:网站首页>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
边栏推荐
- MySQL范围查询优化的场景实例详解
- C language ---5 initial string, escape character and comment
- 2022-06-09 RK817 PMU 電池溫度檢測
- Understanding of related concepts of target detection
- Mysql的回表查询?如何避免?
- What do software test engineers do?
- Introduction to abbexa bacterial genome DNA Kit
- Super detailed tutorial for installing mysql8 in centos7 (no pit!)
- 数组 删除数组中的重复项
- C language -- 8 familiar keywords
猜你喜欢

Principle of gravure overprint and factors affecting overprint

【phpstorm】 No data sources are configured to run this SQL and provide advanced c

Course design of imitation pottery ticket of wechat applet
![在D天内送达包裹的能力[抽象类二分--抽象判定方式]](/img/16/026c017e1c54d580fa2d237aa4605c.png)
在D天内送达包裹的能力[抽象类二分--抽象判定方式]

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

C language -- 1 c language cognition
![[1024 ways to play windows azure] 75 Fast cloud database migration seamlessly migrate alicloud RDS SQL server to azure SQL databas](/img/00/798455f2db289e3aaed36981ea1e7c.png)
[1024 ways to play windows azure] 75 Fast cloud database migration seamlessly migrate alicloud RDS SQL server to azure SQL databas

Interpreting the new ecology of education in maker space

Abbexa acrylamide peg NHS instructions

C语言-排序中的快速排序(简称快排)
随机推荐
【生成对抗网络学习 其一】经典GAN与其存在的问题和相关改进
[nk] 牛客月賽51 G計算題
C language -- 1 c language cognition
C语言-排序中的快速排序(简称快排)
Detailed steps and actual records of SQL server2019 installation (available for hands-on test)
数组 求并集
Can I make up the exam if I fail the soft exam? Here comes the answer
Super detailed tutorial for installing mysql8 in centos7 (no pit!)
系统重装以及查询系统性能
Abbexa cdan1 siRNA instruction manual
Array rotates the array from bits of the specified length
System reinstallation and system performance query
Interpreting the new ecology of education in maker space
Apple zoom! It's done so well
Course design of imitation pottery ticket of wechat applet
C language -- 11 branch statement if else
Abbexa AML1 DNA binding ELISA Kit instructions
Array plus one
oc swift 混编
Ajout, suppression et modification des données du tableau [MySQL] (DML)