当前位置:网站首页>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
边栏推荐
- 构建幼儿Steam教育实施策略
- PHP pseudo protocol implementation command execution details
- Qingniao Changping campus of Peking University: can I learn UI with a high school degree?
- Apple zoom! It's done so well
- Kdd2022 | neural network compression of depth map based on antagonistic knowledge distillation
- Super detailed tutorial for installing mysql8 in centos7 (no pit!)
- Install MySQL on Linux system. Problems encountered in xshell
- 如何激发文化创新的活力和驱动力
- Array to sum the heights of rising intervals
- Anti shake and throttling
猜你喜欢

C language -- 4 first-time constant
一次SQL查询优化原理分析(900W+数据从17s到300ms)
![Ajout, suppression et modification des données du tableau [MySQL] (DML)](/img/08/4239bc0486fe8db2e98e54919300b5.png)
Ajout, suppression et modification des données du tableau [MySQL] (DML)

2022-06-09 RK817 PMU 电池温度检测

JS anchor positioning can extend many functions

C#使用S7.net连接西门子S1200PLC,C#直接连接西门子PLC

Abbexa 8-OHdG CLIA kit solution
php伪协议实现命令执行详情

Abbexa low sample size chicken lysozyme C (Lyz) ELISA Kit

如何激发文化创新的活力和驱动力
随机推荐
About type-C
Part 7: Lesson 2 general skills of consultants - how to install and uninstall SAP ERP system client
2022-06-09 rk817 PMU battery temperature detection
Introduction to ZigBee module wireless transmission star topology networking structure
【MySQL】錶數據的增删查改(DML)
php的exec函数
Exec function of PHP
How to choose the field of we media video creation?
Intelligent robot making progress in imitation learning
数组 加一
Tableau auto - fabriqué
C language -- 8 familiar keywords
Abbkine column exkine Pro animal cell / tissue Total Protein Extraction Kit
Apple zoom! It's done so well
[NK] question de calcul de 51 g pour le match lunaire Bullock
解读创客空间下的教育新生态
NFT copyright / royalties
oc swift 混编
旋转菜单3.0
数组 是否存在重复元素