JBossWS Maven Tool - ClassNotFoundException with WSConsume Task

Solution Verified - Updated -


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?


  • JBoss Enterprise Application Platform (EAP) 6
  • maven

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content