Mees wrote:

The axisclasspath already directs to the axis.jar and
alle the other jars... so i dunno what u mean with the
classpath...

well, should be on another mailing-list this question.
However, trying to execute your class,there is some other classes that need to be found and loaded (as the Service class).
In your case, they are not found(NoClassDefFoundError)
To be found, they need to be referenced by the environnement variable CLASSPATH.
That's all
Be sure that your classpath contains . (for the current directory)
So it should give something like
set CLASSPATH=.;/path/to/whatever/jarfile/you/want;/other/jarfile


Xavier


--- Xavier Renard <[EMAIL PROTECTED]> wrote:


Mees wrote:



I've set the environmental variables AXISCLASSPATH,
AXIS_LIB and AXIS_HOME.
I've runned the getQuote example it worked. It gave
back 55.25

But now that I've moved on to the user guide, to


the


example with the TestClient.java.
It says run with the following command:
java samples.userguide.example1.TestClient So I did from the dir C:\axis


I tried from other dir but it won't work I keep
getting this error, when i run the following


command


C:\axis\java samples.userguide.example1.TestClient

---------------

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/axis/client/Service
at


samples.userguide.example1.TestClient.main(TestClient.java:70)


--------------------------------




add it to your classpath maybe :-)
set CLASSPATH=%CLASSPATH%;%AXIS_LIB%\axis.jar;

Xavier








Reply via email to