Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic