首页 > 编程语言 > 详细

java.lang.IllegalStateException: Cannot define both nestedQueryId and nestedResultMapId

时间:2018-10-10 18:43:58      阅读:1625      评论:0      收藏:0      [点我收藏+]

技术分享图片

出了这个错,那肯定是Mybatis嵌套查询的报的错。

解决:

技术分享图片

在你的collection标签里把resultMap干掉就可以了!

java.lang.IllegalStateException: Cannot define both nestedQueryId and nestedResultMapId

原文:https://www.cnblogs.com/zhaofucai/p/9768039.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!