org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [E:\ProjectTest\IdeaProject\DVillages\target\classes\com\xh\mapper\UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\ProjectTest\IdeaProject\DVillages\target\classes\mybatis\mapper\supervise\ComplaintMailbox.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [
Before XML modification of SQL statement:
after modification
the reason is the wrong parametertype
Read More:
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- org.springframework.beans.factory.UnsatisfiedDependencyException
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘serviceImpl‘
- Spring configuration error: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘m
- Caused by: org.springframework.beans.factory.beancreationexception: error creating be
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of ty
- shiro Error org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type
- Error in project operation org.springframework.beans . factory.BeanCreationException : error creating bean with name can be configured by
- appear org.springframework.beans . factory.BeanCreationException Causes and solutions of abnormal
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- Org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: the wildcard matching is comprehensive, but the declaration of element XX: XX XX cannot be found
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Error creating bean with name ‘org.springframework.security.oauth2.config.annotation.web.configurati
- Unable to read Scheme Document ‘ http://www.springframework.org/schema/beans/spring-beans-4.1.xsd ‘ [How to Fix]
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource…..
- Image file upload error org.springframework.beans .ConversionNotSupportedException
- org.springframework.dao.InvalidDataAccessApiUsageException: Bean object must not be null; nested exc
- Error creating bean with name ‘sqlsessionfactory’ defined in class path resource
- Error creating bean with name ‘datasource’ defined in class path resource