After the recent project upgrade, I reported this error inexplicably. A colleague just met it and helped to solve it. Record it
First of all, this class is in the spinning context package. Just upgrade the package
<spring-context.version>5.3.7</spring-context.version>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-context.version}</version>
</dependency>
Read More:
- Spring nested exception is java.lang.NoClassDefFoundError: org/springframework/core/MethodClassKey
- Error creating bean with name ‘org.springframework.security.oauth2.config.annotation.web.configurati
- NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
- java.lang.NoClassDefFoundError: org/junit/platform/launcher/TestExecutionListener
- Error processing condition on org.springframework.boot . autoconfigure.context.Property Error report solution
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException
- Idea couldn’t be found org.springframework.context .support
- Spring configuration error: org.springframework.beans . factory.BeanCreationException : Error creating bean with name ‘m
- NoClassDefFoundError: org/apache/flink/metrics/MetricGroup
- Org.springframework.beans.factory.xml.xmlbeandefinitionstoreexception: the wildcard matching is comprehensive, but the declaration of element XX: XX XX cannot be found
- SpringCloud GateWay Failed to instantiate [org.springframework.cloud.gateway.discovery.DiscoveryL…
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- shiro Error org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type
- Solution in idea java.lang.ClassNotFoundException : org.springframework.web . context.ContextLoaderListener
- Unable to read Scheme Document ‘ http://www.springframework.org/schema/beans/spring-beans-4.1.xsd ‘ [How to Fix]
- Error creating bean with name ‘feignTargeter‘ defined in class path resource [org/springframework/cl
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of ty
- Cannot resolve plugin org.springframework .boot:xxx
- org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file
- Caused by: org.springframework.beans.factory.beancreationexception: error creating be