The content of element type "resultMap" must match "(constructor?,id*,result*,associa
Posted biehongli
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The content of element type "resultMap" must match "(constructor?,id*,result*,associa相关的知识,希望对你有一定的参考价值。
1、mybatis 错误,xxx.xml配置文件报这样的错误,具体错误,如下所示:
1 The content of element type "resultMap" must match 2 3 "(constructor?,id*,result*,association*,collection*,discriminator?)".
具体原因:造成的原因是<resultMap>标签中
需要按照
<id>
<result>
<association>
<collection>
顺序来进行排列,不然就会出现上面的错误的。
以上是关于The content of element type "resultMap" must match "(constructor?,id*,result*,associa的主要内容,如果未能解决你的问题,请参考以下文章
Cause: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character
hibernate配置文件 The content of element type "class" must match
Mybatis 异常: The content of elements must consist of well-formed character data or markup
The content of element type "configuration" must match "(properties?,settings?,typeAl
ibatis动态sql配置启动时提示:The content of elements must consist of well-formed character data...
转The content of element type "configuration" must match "(properties?,settings?,typ