Bhavik created CXF-8772:
---------------------------
Summary: java.lang.NoClassDefFoundError:
org/apache/cxf/endpoint/Retryable after removing cxf-rt-core and added cxf-core
Key: CXF-8772
URL: https://issues.apache.org/jira/browse/CXF-8772
Project: CXF
Issue Type: Bug
Reporter: Bhavik
After update to Spring version to 5.3.20 faced method reference error for
isCglibProxyClass
Followed suggestions provided in the ticket [ CXF-6511|
https://issues.apache.org/jira/browse/CXF-6511] and removed all the transitive
dependencies referring to cxf-rt-core and added cxf-core version 3.5.3 to the
pom
However that resulted in the following error below
Please suggest how to resolve
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError: org/apache/cxf/endpoint/Retryable
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:659)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:639)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)