Hi,
I have set the axisclasspath in the runtimenvironment like you said, but now comes another errormessage:
"java.net.ConnectException: Connection refused: connect"
 
What can I do?
thanks
----- Original Message -----
Sent: Tuesday, February 17, 2004 2:30 PM
Subject: RE: Problem with running example with apache axis

Put . in your classpath:

 

set axisclasspath=.;%axisclasspath%

 

works for me

 

Roger

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 13:18
To: [EMAIL PROTECTED]
Subject: Problem with running example with apache axis

 

Hi,

sorry when message is double.

 

I have a problem to run an example from http://ws.apache.org/axis/java/user-guide.html?

 

See the cmd:

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

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

 

C:\axis-1_1>java -cp %axisclasspath% samples.userguide.example1.TestClient
Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/example1/TestClient

 

C:\axis-1_1>echo %axisclasspath%
C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\commons-discovery.jar;C:\axis-1_1\lib\commons-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.jar

 

C:\axis-1_1>echo %axis_home%
C:\axis-1_1

 

C:\axis-1_1>echo %tomcat_home%
C:\Tomcat4.1

 

C:\axis-1_1>echo %path%
.;C:\j2sdk1.4.2_03\bin;C:\j2sdk1.4.2_03;C:\axis-1_1;C:\ant-1.6.0\bin;C:\jwsdp-1.3\bin;C:\jwsdp-1.3;C:\WINDOWS\
system32;C:\WINDOWS;C:\WINDOWS\system32\wbem

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

 

Does somebodey know, why I'm getting the exception?

 

regards,

chiliman

Reply via email to