>From the user guide:
"Before running the examples in this guide, you'll need to make sure that
your CLASSPATH includes (Note: If you build Axis from a CVS checkout, these
will be in xml-axis/java/build/lib instead of axis-1_1/lib):
* axis-1_1/lib/axis.jar
* axis-1_1/lib/jaxrpc.jar
* axis-1_1/lib/saaj.jar
* axis-1_1/lib/commons-logging.jar
* axis-1_1/lib/commons-discovery.jar
* axis-1_1/lib/wsdl4j.jar
* axis-1_1/ (for the sample code)
* A JAXP-1.1 compliant XML parser such as Xerces or Crimson"
You didn't post your classpath variable, but my guess is that c:\axis-1_1 is
not in your classpath...
Adhamh
On 8/26/03 4:30 PM, "Donald Manoogian" <[EMAIL PROTECTED]> wrote:
> 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
>
>