ClassNotFoundException when trying to use CXF's org.apache.cxf.jaxws.JaxWsProxyFactoryBean and org.apache.cxf.frontend.ClientProxy
Issue
- I'm trying to initialize
org.apache.cxf.jaxws.JaxWsProxyFactoryBean
in my component's@PostConstruct
method, but I'm getting the following error:
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.jaxws.JaxWsProxyFactoryBean
- We are getting the following below exception:
Caused by: java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProxy
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.