Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Lucky
, 1 year ago
Mapped Statements collection already contains value for com.sample.mappers.UserMapper.getAllUsers
via Google Groups by Colin Williams, 1 year ago
Result Maps collection already contains value for com.example.SavedUserSessionMapper.getSessionByIdentifier-String
via GitHub by abel533
, 2 months ago
Mapped Statements collection already contains value for tk.mybatis.incomplete.CountryCacheWithXmlMapper.selectById
java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.sample.mappers.UserMapper.getAllUsers	at org.apache.ibatis.session.Configuration$StrictMap.put(Configuration.java:802)	at org.apache.ibatis.session.Configuration$StrictMap.put(Configuration.java:774)	at org.apache.ibatis.session.Configuration.addMappedStatement(Configuration.java:598)	at org.apache.ibatis.builder.MapperBuilderAssistant.addMappedStatement(MapperBuilderAssistant.java:300)	at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parseStatement(MapperAnnotationBuilder.java:313)	at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parse(MapperAnnotationBuilder.java:128)	at org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:72)	at org.apache.ibatis.session.Configuration.addMapper(Configuration.java:671)	at org.mybatis.spring.mapper.MapperFactoryBean.checkDaoConfig(MapperFactoryBean.java:81)	at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)