Looks like you need to put quotes around the specification of classpath.

java -cp "%AXISCLASSPATH%" ... 


> -----Original Message-----
> From: Plorks mail [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 26, 2005 6:18 AM
> To: axis-user@ws.apache.org
> Subject: Exception in thread "main" java.lang.NoClassDefFoundError
> 
> 
> 
> Hello
> 
> I am following the Axis installation instrunction from here
> 
> http://ws.apache.org/axis/java/install.html#Step5InstallingNew
> WebServices
> 
> I get to step 6 set my classpath then i try to run the admin 
> client using 
> this
> 
> java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
>      -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
> 
> 
> But i get this error -
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> Files\AXIS\axis-1_1\lib\axis/jar
> 
> 
> checked my classpath and it looks correct
> 
> C:\Program Files\AXIS\axis-1_1\lib\axis.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\commons-discovery.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\commons-logging.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\jaxrpc.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\saaj.jar;  C:\Program 
> Files\AXIS\axis-1_1\lib\log4j-1.2.8.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\xml-apis.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\xercesImpl.jar;C:\Program 
> Files\AXIS\axis-1_1\lib\activation.jar
> 
> 
> Can anybody help
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
> http://messenger.msn.co.uk
> 

Reply via email to