Mapped Statements collection already contains value for...问题解决
Mybatis开发过程中经常遇到Mapped Statements collection already contains value for xxx 这种错误。字面意思是说mapper中存在id重复的值,比如说同一个xml文件中有两个id为xxx的方法。这种经常是copy已有代码的时候忘了改id导致的。
参考链接: https://blog.csdn.net/u012799221/article/details/80061274
学而不思则罔,思而不学则殆!