Mybatis出现Mapped Statements collection already contains value for

来源:互联网 发布:网络的利与弊作文600 编辑:程序博客网 时间:2024/05/01 22:09

Mybatis出现Mapped Statements collection already contains value for 

错误原因:

1.mapper中存在id重复的值

2.mapper中的parameterType或resultType为空。

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


1 1
原创粉丝点击