Errors encountered while integrating SSM
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [spring-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘class path resource [com/kuang/mapper/UserMapper.xml]’; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is ‘class path resource [com/kuang/mapper/UserMapper.xml]’. Cause: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.kuang.mapper.UserMapper.selectUser. please check com/kuang/mapper/UserMapper.xml and class path resource [com/kuang/mapper/UserMapper.xml]
Reason:
Write an extra copy of this thing
Conflicts with Spring inside
Deleted and compiled successfully
Read More:
- [Solved] Springboot Error creating bean with name ‘dataSource’ defined in class path resource
- Error creating bean with name ‘redistemplate’ defined in class path resource
- [Solved] Redis Error: Error creating bean with name stringRedisTemplate defined in class path resource
- [Solved] nacos Startup Error: Error creating bean with name ‘authFilterRegistration‘ defined in class path resource
- SpringBoot Access Clickhouse Error: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘jdbcConverter’ defined in class path resource [***.class]
- [Solved] Error creating bean with name ‘enableRedisKeyspaceNotificationsInitializer‘ defined in class path
- [Solved] Error creating bean with name ‘braveHttpServerHandler‘ defined in class path
- [Solved] Error creating bean with name ‘enableRedisKeyspaceNotificationsInitializer‘ defined in class path re
- Eclipse Tomcat Error creating bean with name ‘sqlSessionFactory’ defined in URL…
- Error creating bean with name ‘studentMapper‘ defined in file
- Tk.mapper Common mapper Error: Error creating bean with name ‘commonMapper‘ defined in file xxx
- When integrating redis with SSM framework, error creating bean with name ‘rediscontentserviceimpl’ defined in file
- [Solved] UnsatisfiedDependencyException: Error creating bean with name
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- Error creating bean with name ‘captchaController‘: Unsatisfied dependency expressed through field ‘c
- [Solved] org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource‘
- [Solved] Error creating bean with name rController‘: Unsatisfied dependency expressed through field
- [Solved] Notwritablepropertyexception: invalid property ‘mapperhelper’ of bean class
- [Solved] JWT + SSO Error: Error creating bean with name ‘jwtTokenServices’
- [Solved] renren-fast Startup Error: Error creating bean with name ‘scheduleJobController‘