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

I am using java 1.3.1-b24 and the classpath is set to:

.;c:\j2sdkee1.3.1\lib\j2ee.jar;c:\j2sdkee1.3.1\lib\locale
  
and the AXISCLASSPATH is set to:

C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\commons-discovery.jar;C:\axis-1_1\lib\c
ommons-logging.jar;C:\axis-1_1\lib\jaxrpc.jar;C:\axis-1_1\lib\saaj.jar;C:\axis-1
_1\lib\log4j-1.2.8.jar;C:\axis-1_1\lib\xml-apis.jar;C:\axis-1_1\lib\xercesImpl.j
ar;

I tried recompiling the class.  It compiles without errors, but it still won't run.

Any ideas?  I'm stumped.

Don Manoogian


Reply via email to