Mybatis出现Mapped Statements collection already contains value for

每天学习一点点 编程PDF电子书、视频教程免费下载:
http://www.shitanlife.com/code

 

 

Mybatis出现Mapped Statements collection already contains value for 

错误原因:

1.mapper中存在id重复的值

2.mapper中的parameterType或resultType为空。

例如:<update id="deleteSchool" parameterType=" "> </update>

posted @ 2018-04-08 14:16  漫步CODE人生  阅读(5916)  评论(0编辑  收藏  举报