내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Apache CXF Client NoClassDefFounfError

Avatar

Level 2

java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProxy

what bundle should I Install in to the Felix console  to get this issue fixed?

Can some one please let me know what is the appropriate bundle for running  Apache CXF. I am trying to add timeouts to the SOAP call using the Client interface?

 

Thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

We have a community article that successfully invokes a 3rd party WSDL from an OSGi bundle that is built using Apache CXF.

[img]WSClient.png[/img]

This data was returned by the web service. 

See:

http://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 10

Have you set classloader to CXF bundle class loader (Thread.currentThread().setContextClassLoader) to avoid OSGI classloader problems?   

http://www.pro-vision.de/content/medialib/pro-vision/production/adaptto/2011/110915_adaptto_slingcxf...

Avatar

정확한 답변 작성자:
Level 10

We have a community article that successfully invokes a 3rd party WSDL from an OSGi bundle that is built using Apache CXF.

[img]WSClient.png[/img]

This data was returned by the web service. 

See:

http://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html

Avatar

Level 2

I tried the article for consuming the webservice and it works for me.

I did not run in to any issues when i did that. Right now i am in a different scenario.

I am using a maven project and i add those dependencies to the POM. I see CXF in the import package under the Manifest Header but i still get the NoClassDefFounfError.

Avatar

Level 2

Probably Apache CXF have to to be installed on the Felix console to get the issue fixed?

Any suggestions around that?