| Author |
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/wsdl/Java2WSDL
|
ruchirak tiw
Greenhorn
Joined: Jul 20, 2009
Posts: 2
|
|
Using Axis2 code generator to generate WSDL from java interface. Giving fully qualified class name and folder path where class file resides ,click on test class loading giving following exception.
java.lang.classNotFoundException.
When I am trying through command prompt then getting Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/wsdl
/Java2WSDL
Please suggest me solution to solve above issues.
Thanks in advance.
Regards
Ruchi
|
 |
Travis Hein
Ranch Hand
Joined: Jun 06, 2006
Posts: 161
|
|
that file Java2WSDL missing class it is complaining about is found in the axis2-kernel jar file.
So its possible that jar fie is not found, such as I think running the command line java2wsdl command requires an environment variable AXIS2_HOME to be set
or possibly the file is corrupt, try downloading axis2 again ?
or for some reason that axis2-kernel jar file is not in your classpath.
|
Error: Keyboard not attached. Press F1 to continue.
|
 |
 |
|
|
subject: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/wsdl/Java2WSDL
|
|
|