Result Maps collection already contains value for com.mybatistest.daoBaseResultMap
原因及解决办法:这是因为运行了多次自动生成代码的程序,每次运行都会附加内容到xml文件尾部,导致id重复。
Cause: java.io.IOException: Could not find resource main/mybatis/UserMapper.xml
Result Maps collection already contains value for com.mybatistest.daoBaseResultMap
Cause: java.io.IOException: Could not find resource main/mybatis/UserMapper.xml