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.JaxWsProxyFactoryBeanin my component's@PostConstructmethod, 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
