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

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

解决:

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

猜你喜欢

转载自www.cnblogs.com/zhaofucai/p/9768039.html