Hi All: I delete the "@echo off" line in the .bat file, and from the looks of it the set AXIS_2_CLASS_PATH is assigned the jar files.
Can anyone please tell me which jar file the SimpleAxis2Server.class is suppose to belong to in apache axis 2 version 1.5? I went to this web site: http://www.findjar.com/jar/org.apache.axis2/jars/axis2-1.2.jar.html It contains the axis2-1.2.jar, and I placed this jar in the c:\axis2-1.5.1\lib directory and ran axis2server.bat and got the same error as before It set the classpath variable: set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;C:\axis2-1.5.1\lib\axis2-1.2.jar It ran as follow: "c:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml" I attached axis2.txt which is the output from running C:\axis2-1.5.1\bin\axis2.bat and axis2server.txt which is the result of running C:\axis2-1.5.1\bin\axis2server.txt. Can anyone please tell me what is wrong with my axis2 version 1.5 setup? C:\axis2-1.5.1>"C:\Java\jdk16_17\bin\java.exe" -cp "!AXIS2_CLASS_PATH!" org.apache.axis2.transport.SimpleAxis2Server -repo "C:\axis2-1.5.1\repository" -conf "C:\axis2-1.5.1\conf\axis2.xml" 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>goto end Yours, Frustrated http://old.nabble.com/file/p27927644/axis2server.txt axis2server.txt http://old.nabble.com/file/p27927644/axis2.txt axis2.txt -- View this message in context: http://old.nabble.com/ClassNotFoundException%3A-org.apache.axis2.transport.SimpleAxis2Server-tp27900262p27927644.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]
