Hi 

The samples aren't on the classpath. 

To do that , just add something like ;%AXIS_HOME%/samples

to the end classpath declaration - that should see you right.

James




[EMAIL PROTECTED] 
02/04/2004 04:35
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
Classpath help?






Hi-

I'm a newbie trying to get Axis 1.1 going on WinXP with Tomcat 5.0, and 
j2sdk1.4.2_03.  I can get the Happiness page up just fine.

But when I try and run the samples from the command line, I get:

Exception in thread "main" java.lang.NoClassDefFoundError: 
samples/userguide/exa
mple1/TestClient

>From the other posts I've read, it seems to be a CLASSPATH problem, but I 
still haven't been able to figure it out for my environment.  Here are the 
applicable environmental variables:

CLASSPATH: .;C:\ServletDevel;C:\Program Files\Apache Software 
Foundation\Tomcat 
5.0\common\lib\servlet-api.jar;%AXISCLASSPATH%;%AXIS_HOME%

AXIS_HOME: C:\Program Files\Apache Software Foundation\Tomcat 
5.0\webapps\axis

AXIS_LIB: %AXIS_HOME%\WEB-INF\lib

AXISCLASSPATH: 
.;%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar

JAVA_HOME: C:\j2sdk1.4.2_03

Can anyone offer any assistance?

Thanks,

-Rob

--
[EMAIL PROTECTED]


This email is intended solely for the use of the named addressee(s). Any 
unauthorised disclosure, copying or distribution of the confidential 
information contained therein, or the taking of any action based on it, is 
prohibited. The sender disclaims any liability for the integrity of this 
email. Legally binding declarations must be in written form.

Reply via email to