JBossWS Maven Tool - ClassNotFoundException with WSConsume Task

Solution Verified - Updated -

Issue

I am trying to run WSConsume using the JBossWS Maven task.  When trying to generate the client stubs, I am getting the following exception:

java.lang.ClassNotFoundException: org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl

When looking for the missing class referenced in the exception (org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl) I could only find it in the jbossws-native-core.jar.  Do I need to pull what appears to be a native-stack specific jar for client stub generation, even though I am trying to use a CXF stack?

Environment

  • JBoss Enterprise Application Platform (EAP) 6
  • maven

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.