>I am trying to get the stock sample program up an running.  It deploys OK, but when I 
>try to run the command line from the
>%AXISPATH%\samples\stock directory:

Instead of running from the above mentioned path , run from two directories higher i.e 
from %AXISPATH%
Alternatively u can set classpath to the above mentioned path!!

Although u think ur running the command from the same directory as deploy.wsdd and the 
classfile samples.stock.GetQuote, 
samples and stock are packages , so u gotto to run the command from outside them , not 
inside, thats how java
is run.!

hope this helps, although you could have resolved this by searching on any general 
Java Forums for NoClassDefFoundError.
tscus
hrc

-----Original Message-----
From: Donald Manoogian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 3:00 AM
To: [EMAIL PROTECTED]
Subject: Newbie Question About Examples


I have successfully installed Axis 1.1 on an Tomcat 4.1.24 server.  

I am trying to get the stock sample program up an running.  It deploys OK, but when I 
try to run the command line from the
%AXISPATH%\samples\stock directory:

java -cp .;%AXISCLASSPATH% samples.stock.GetQuote  
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX
I keep getting:
Exception in thread "main" java.lang.NoClassDefFoundError: samples/stock/GetQuote



Reply via email to