Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

deploying classpath problem

dausten

2007-02-27

Replies:

I an running windows XP, Tomcat 5.5, axis 1.4. I am trying to deploy a =20
web service using a wsdd. I am using the command

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
    -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

I went to system properties/advanced/enviroment variables and add the =20
following entries

AXIS_HOME: C:\Program~1\axis-1_4\lib
AXIS_LIB: %AXIS_HOME%\lib
AXISCLASSPATH: =20
%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery-0.2=
.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\s=
aaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar

my axis dir is C:\Program Files\axis-1_4
my tomcat dir is C:\Program Files\Apache Software Foundation\Tomcat 5.5

I have followed tutorials and looked online and have had no luck I =20
keep getting the error

Exception in thread "main" java.lang.NoClassDefFoundError: =20
org/apache/axis/client/AdminClient

Please if you know what is wrong I would love advice.

Devon Austen




---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.