Skip to main content

AXIS problem WSDL2Java!!!

1 reply [Last post]
davor
Offline
Joined: 2006-05-05
Points: 0

Hi there,
i'm trying to run this in the command line,
% java org.apache.axis.wsdl.WSDL2Java MiFile.wsdl
but i get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java
Caused by: java.lang.ClassNotFoundException: org.apache.axis.wsdl.WSDL2Java
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

Any idea??
Davor.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
fran_jo
Offline
Joined: 2011-03-24
Points: 0

Hi again!
Have you set your environment variables correctly? I refer to AXIS2_HOME and JRE_HOME...