[ 
https://issues.apache.org/jira/browse/CXF-8772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615407#comment-17615407
 ] 

Andriy Redko commented on CXF-8772:
-----------------------------------

Hi [~bhavikgandhi1] ,

Not much we can do here, you may try to replace Spring Framework only, but 
there are high chances it may not work as well

> 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
>            Priority: Major
>         Attachments: image-2022-10-07-10-14-58-883.png
>
>
> 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)

Reply via email to