ClassNotFoundException when trying to use CXF's org.apache.cxf.jaxws.JaxWsProxyFactoryBean and org.apache.cxf.frontend.ClientProxy

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.