Hi,
Ive been staring at this for days, but can't what must be an obvious mistake on my part. See details in html attachment. Is anyone able to assist?
thankyou
mikel
Title: Directory of C:\xml-axis-beta1\samples\userguide\example3

 

 Directory of C:\xml-axis-beta1\samples\userguide\example3

 

17/03/2002  07:32p      <DIR>          .

17/03/2002  07:32p      <DIR>          ..

17/03/2002  07:19p               1,834 Client.class

15/03/2002  12:32p               4,080 Client.java

15/03/2002  12:32p                 335 deploy.wsdd

15/03/2002  12:32p                 236 MyService.class

15/03/2002  12:32p               2,775 MyService.java

15/03/2002  12:32p                 104 undeploy.wsdd

               6 File(s)          9,364 bytes

               2 Dir(s)   2,337,009,664 bytes free

 

It seems that the class AdminClient in axis.jar cannot be found:

C:\xml-axis-beta1\samples\userguide\example3>java org.apache.axis.client.AdminCl

ient deploy.wsdd

Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/reflect/Inv

ocationHandler

        at org.apache.axis.client.AdminClient.<init>(Unknown Source)

        at org.apache.axis.client.AdminClient.main(Unknown Source)

 

Let’s try another class in axis.jar:

C:\xml-axis-beta1\samples\userguide\example3>java org.apache.axis.utils.tcpmon

{NOTE: here tcpmon starts up with no problems}

 

My CLASSPATH:

C:\xml-axis-beta1\samples\userguide\example3>c:\forte4j\lib\ext\xalan.jar;c:\soa

p-2_2\lib\soap.jar;c:\soap-2_2;c:\soap-2_2\extn\bsf-2_2\bsf.jar;c:\soap-2_2\extn

\jaf-1.0.1\activation.jar;c:\soap-2_2\extn\rhino\js.jar;c:\soap-2_2\extn\javamai

l-1.2\mail.jar;c:\xerces-1_4_4\xerces.jar;c:\XML4J-3_1_1\xml4j.jar;.;%TOMCAT_HOM

E%\common\lib\servlet.jar;%TOMCAT_HOME%\common\lib\activation.jar;%TOMCAT_HOME%c

ommon\lib\xerces.jar;.;%JAVA_HOME%\bin;%JAVA_HOME%\lib\tools.jar;%J2EE_HOME%\bin

;%J2EE_HOME%\lib\locale;%TOMCAT_HOME%\common\lib\axis.jar;%TOMCAT_HOME%\common\l

ib\clutil.jar;%TOMCAT_HOME%\common\lib\log4j-core.jar;%TOMCAT_HOME%\common\lib\w

sdl4j.jar;%TOMCAT_HOME%\common\lib\xerces.jar;%TOMCAT_HOME%\common\lib\commons-l

ogging.jar;%TOMCAT_HOME%\common\lib\jaxrpc.jar;%TOMCAT_HOME%\common\lib\tt-bytec

ode.jar;%TOMCAT_HOME%\common\lib\xalan.jar;%TOMCAT_HOME%\common\lib\crimson.jar;

 

Using jakarta-tomcat-4.0.3 and xml-axis-beta1

Reply via email to