I try to run example no 2 (Calculator) from Axis samples/userguide. 
I type:

java -cp %AXISCLASSPATH% CalcClient

and i get the same error all the time: 
"Exception in thread "main" java.lang.NoClassDefFoundError: CalcClient"

I dont know what is wrong, because my AXISCLASSPATH seems to be correct:

%AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\activation.jar

where AXIS_LIB is: %AXIS_HOME%\lib

and AXIS_HOME is: C:\axis-1

.jars at AXISCLASSPATH match exactly those in "lib" folder of Axis.

What could be wrong?
Please help me. I'm desperate!!
--
View this message in context: 
http://www.nabble.com/-Axis-1_3-I-get-an-error-while-trying-to-run-CalcClient-example-t1407439.html#a3789819
Sent from the Axis - User forum at Nabble.com.

Reply via email to