1、这是我遇到的异常报错
org.apache.ibatis.exceptions.PersistenceException:
### Error building SqlSession.
### The error may exist in mappers/empMapper.xml
### The error occurred while processing mapper_resultMap[MyUserResultMap]
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'mappers/empMapper.xml'. Cause: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for empMapper.findEmpByDeptno. please check mappers/empMapper.xml and mappers/empMapper.xml
2、找到问题所在点
3、Cause这行往后看,找到核心错误
4、这是重复的两个id
5、修改后