If there is no problem with the annotation, I suggest you check it web.xml Configuration, I was sliding monitoring class introduction error, resulting in an error.
That’s right:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
This is hand skating:
<listener>
<listener-class>org.springframework.web.context.ContextLoader</listener-class>
</listener>
Read More:
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of ty
- Caused by: org.springframework.beans.factory.beancreationexception: error creating be
- 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
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- org.springframework.beans.factory.UnsatisfiedDependencyException
- appear org.springframework.beans . factory.BeanCreationException Causes and solutions of abnormal
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘serviceImpl‘
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
- Org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: the wildcard matching is comprehensive, but the declaration of element XX: XX XX cannot be found
- Spring configuration error: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘m
- Unable to read Scheme Document ‘ http://www.springframework.org/schema/beans/spring-beans-4.1.xsd ‘ [How to Fix]
- Image file upload error org.springframework.beans .ConversionNotSupportedException
- Caused by: java.net.SocketException : connection reset or caused by: java.sql.SQLRecoverableException solve
- Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibat
- Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block collection
- When OFBiz project starts, caused by: org.codehaus.groovy . control.MultipleCompilationErrorsException : startup failed:
- Caused by: org.xml.sax.SAXParseException; lineNumber: 479
- Caused by: org.apache.catalina.LifecycleException: A child container failed during start