Mapped Statements collection already contains value for com.xxx.xxx
2017-05-24 22:24
671 查看
映射文件中statement有重复的!
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.hl.mybatis.first.mapper.UserMapper.fingUserList at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120) at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92) at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.loadXmlResource(MapperAnnotationBuilder.java:173) at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parse(MapperAnnotationBuilder.java:124) at org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:72) at org.apache.ibatis.session.Configuration.addMapper(Configuration.java:728) at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:377) at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:118) ... 27 more Caused by: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.hl.mybatis.first.mapper.UserMapper.fingUserList at org.apache.ibatis.session.Configuration$StrictMap.put(Configuration.java:859) at org.apache.ibatis.session.Configuration$StrictMap.put(Configuration.java:831) at org.apache.ibatis.session.Configuration.addMappedStatement(Configuration.java:655) at org.apache.ibatis.builder.MapperBuilderAssistant.addMappedStatement(MapperBuilderAssistant.java:302) at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:109) at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135) at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128) at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118) ... 34 more
相关文章推荐
- Mapped Statements collection already contains value for com.xxxDao.findList
- Mapped Statements collection already contains value for com.dao.personMapper.selectByPrimaryKey
- Mapped Statements collection already contains value for com.syoby.test.sample.mybatis.ISampleMapper.
- Mapped Statements collection already contains value for com.*.*
- Mapped Statements collection already contains value for xxxx.xxx.xxxx
- ibatis出现Mapped Statements collection already contains value for com.chong.model.AccountMapper.checkA
- mybatis绑定多个mapper,@ResultMap 报错: Mapped Statements collection already contains value for xxx
- Mybatis出现 Mapped Statements collection already contains value for com.*.*
- Mapped Statements collection already contains value for com.ziztour.common.db.to.p.PBiddingMatchLog
- Mapped Statements collection already contains value for com。。。
- Mybatis出现Mapped Statements collection already contains value for
- mbatis Mapped Statements collection already contains value for...Mybatis
- java.lang.IllegalArgumentException: Mapped Statements collection already contains value for
- Mybatis出现Mapped Statements collection already contains value for
- Mapped Statements collection already contains value for……
- Mybatis 保错:Mapped Statements collection already contains value for jaxrs.dch.projects.y
- Mapped Statements collection already contains value for
- Mybatis报错——Mapped Statements collection already contains value for 。。。
- myBatis出现Mapped Statements collection already contains value for
- mybatis 异常 Mapped Statements collection already contains value for .......