Calm down :)

It seems that java runtime machine can't see your Client class - it's probably because you don't have "." in your classpath - if you don't include "." which means the current directory, java can't find classes that you are trying to execute, in that case you won't be able to execute any program, not only the web service client. The solution is to put "." into your classpath or put your Client and all referenced classes in jar file and put this jar in the classpath.

Regards

Ania

----- Original Message ----- From: "Piote" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 07, 2006 11:36 AM
Subject: Please help!!! I can't run clients on my Tomcat/Axis



Hi,
I installed Axis according to manual. Everything works fine till I try to
run clients (e.g those from userguide/samples). Whenever I type:

java -cp %AXISCLASSPATH% Client

I get the same error:

"Exception in thread "main" java.lang.NoClassDefFoundError: Client"

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 really desperate!!

--
View this message in context: http://www.nabble.com/Please-help%21%21%21-I-can%27t-run-clients-on-my-Tomcat-Axis-t1411083.html#a3800612
Sent from the Axis - User forum at Nabble.com.


Reply via email to