源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  The content of element type "collection" must match "(constructor?,id*,result*,association*,collecti

The content of element type "collection" must match "(constructor?,id*,result*,association*,collecti

分类: 文章 • 2022-10-26 10:10:58

MyBatis规定的顺序,要按照规则来写,显示id,然后是result,然后association,最后是collection,这个是在写映射文件的时候没有把他们的顺序写对,应该调整一下顺序就可以成功了,

 

 

The content of element type "collection" must match "(constructor?,id*,result*,association*,collecti

调整完association和collection的位置顺序就可以了

 

相关推荐

  • The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
  • The content of element type "collection" must match "(constructor?,id*,result*,association*,collecti
  • The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collectio
  • The content of element type "collection" must match "(constructor?,id*,result*,association*,collec
  • 【积跬步以至千里】Markdownpad2报错: Html Rendering Error:An error occurred with the HTML rendering component。
  • 如何用python“优雅的”调用有道翻译?
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号