aspose file tools*
The moose likes Other Open Source Projects and the fly likes Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL" Watch "Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL" New topic
Author

Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL

Sam Gehouse
Ranch Hand

Joined: Jul 21, 2003
Posts: 281
I am using Axis 1.4 (NOT using Axis2) for Java2WSDL. It is a web project where the source file is in src folder and the generated .class is under WEB-INF/classes. However, for the sake of creating a WSDL, I copied .class file to the src folder.

Following is my user-variable


I set the class path as:



Next, I run Java2WSDL as:


What am I missing?
Vivek Kr Singh
Ranch Hand

Joined: Oct 12, 2007
Posts: 56
Looks like there is a mistake in package provided for Java2WSDL class. It should be org/apache/axis/wsdl/Java2WSDL

http://ws.apache.org/axis/java/apiDocs/org/apache/axis/wsdl/Java2WSDL.html


SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java2WSDL in AXIS 1.4 shows shows java.lang.NoClassDefFoundError: org/apache/axis/wsdlgen/Java2WSDL
 
Similar Threads
Error running wsdl2java tool
Is this wsdl somehow wrong? - Help please!
help apache axis
Java2WSDL in AXIS 1.4 - java.lang.NoClassDefFoundError
Web service - NoClassDefFoundError exception