The class is definitely there and the axis2server.bat script is known to work. If it causes problems, then this probably means that either some files have been corrupted or that there is in issue with the script on your particular Windows version.
On Mon, Mar 15, 2010 at 04:58, jadeite100 <[email protected]> wrote: > > Hi All: > > I download Axis 2 versin 1.5.1. > I unzipped to the following directory:C:\axis2-1.5.1 > I set AXIS2_HOME -->C:\axis2-1.5.1 > I am using windows 2000 server, with jdk 16_17. > I setted JAVA_HOME -->C:\Java\jdk16_17 > I ran C:\axis2-1.5.1\bin>axis2.bat > Than I ran > C:\axis2-1.5.1\bin>axis2server.bat > Using JAVA_HOME C:\Java\jdk16_17 > Using AXIS2_HOME C:\axis2-1.5.1 > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/axis2/transport/SimpleAxis2Server > Caused by: java.lang.ClassNotFoundException: > org.apache.axis2.transport.SimpleAxis2Server > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > Could not find the main class: org.apache.axis2.transport.SimpleAxis2Server. > Program will exit. > C:\axis2-1.5.1\bin> > > Can anyone please give me a hint why I am getting the above error. > > Any help or hint or an url would be greatly appreciated. > > Yours, > > Frustrated. > -- > View this message in context: > http://old.nabble.com/ClassNotFoundException%3A-org.apache.axis2.transport.SimpleAxis2Server-tp27900262p27900262.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
