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

Bhavik commented on CXF-8772:
-----------------------------

Hi [~reta],
Ok. So I tried updating CXF dependencies. However the problem class 
SpringAopClassHelper is in cxf-api library and the latest version for it is 
2.7.18. There is no 3.3.x version available for it.

[https://mvnrepository.com/artifact/org.apache.cxf/cxf-api|https://mvnrepository.com/artifact/org.apache.cxf/cxf-api.]

 

> 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