The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
来源:互联网 发布:罗技g502 mac 编辑:程序博客网 时间:2024/04/28 16:54
Mybatis添加一对一关联查询的时候,就是添加association标签的时候出现这个错误。
The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)".
原图
查找了半天,然后发现是顺序导致了The content of element type “resultMap” must match “(constructor?,id*,result*,association*,collectio
这个错误
修改一下顺序即可
修改后的图片
0 1
- The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
- The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collecti
- The content of element type "collection" must match "(constructor?,id*,result*,association*,collec
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collectio
- 解决mybatis问题:The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMa
- The content of element type "mapper" must match "(cache-ref|cache|resultMap*|parameterMap*|sql*|inse
- 如果出现The content of element type "package" must match "(result-types?,interceptors?,default-interce
- “The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept
- struts2---The content of element type "package" must match "(result-types?,interceptors?,default-int
- org.xml.sax.SAXParseException The content of element type "package" must match "(result-types?,inter
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept .
- The content of element type "package" must match "(result-types?,interceptors?,default-interceptor-r
- struts.xml错误提示:The content of element type "package" must match "(result-types?,interceptors?,defaul
- The content of element type "package" must match "(result-types?,interceptors?,default-intercept .
- Android Gradle和ProGuard学习
- 指令集体系结构 - ISA
- 排序算法系列一:冒泡排序和快速排序
- 网站开发进阶(十)如何将一个html页面嵌套在另一个页面中
- Android图片加载神器之Fresco-加载图片基础[详细图解Fresco的使用]
- The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
- Qt 深入介绍信号和槽
- socket与TCP/IP协议族的关系
- 最近遇到的一个数组越界的BUG
- java反射和注解
- inline
- Android 实现只创建一个socket就能一次传输多个文件
- 统计叶节点
- jqGrid使用记录