Thanks for your reply. 

I then try to use cxf-tools-java2ws-2.7.5 and made sure that all required
libraries are on the class path.
Now it displays following error.

[WSConfigGenerator] java.lang.NoClassDefFoundError:
org/apache/cxf/jaxb/JAXBData
Binding
[WSConfigGenerator]     at
org.apache.cxf.tools.java2wsdl.processor.internal.Def
aultServiceBuilderFactory.newBuilder(DefaultServiceBuilderFactory.java:45)
[WSConfigGenerator]     at
org.apache.cxf.tools.java2wsdl.processor.internal.Ser
viceBuilderFactory.newBuilder(ServiceBuilderFactory.java:59)
[WSConfigGenerator]     at
org.apache.cxf.tools.java2wsdl.processor.JavaToWSDLPr
ocessor.getServiceBuilder(JavaToWSDLProcessor.java:198)

This class could be found in cxf-rt-databinding-jaxb-2.7.5, this jar is also
on classpath, still it throws
the above exception.

Please advise.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/JavaToWS-throws-java-lang-NoClassDefFoundError-tp5729942p5730034.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to