Forgive me for asking something really obvious, but you didn't mention it, so I'll ask. You did complie GetQuote.java, right?


From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Classpath?
Date: Wed, 07 Apr 2004 05:05:54 +0000

Can anyone offer any help on what I'm pretty sure is a CLASSPATH issue? This is a re-post, and I apologize, but I'm pulling my hair out -- I've tried all sorts of classpath combinations and configurations. I thought I had everything set when I got this:

C:\axis-1_1\samples\stock>java -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
Processing file deploy.wsdd
<Admin>Done processing</Admin>

I thought I was good to go. But then I tried the next step and got this:

C:\axis-1_1\samples\stock>java -cp .;%AXISCLASSPATH%
samples.stock.GetQuote  -lhttp://localhost:8080/axis/servlet/AxisServlet
-uuser1 -wpass1 XXX
Exception in thread "main" java.lang.NoClassDefFoundError:
samples/stock/GetQuote

Again, here are my path settings:

AXIS_HOME: c:\axis-1_1

AXIS_LIB: %AXIS_HOME%\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%\mail.jar

CLASSPATH:  .;C:\ServletDevel;C:\Program Files\Apache Software
Foundation\Tomcat 5.0\common\lib\servlet-api.jar;C:\Program Files\Apache
Software Foundation\Tomcat 5.0\common\endorsed\xercesImpl.jar;C:\Program
Files\Apache Software Foundation\Tomcat
5.0\common\endorsed\xmlParserAPIs.jar;%AXISCLASSPATH%;C:\axis-1_1\samples

CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5.0

thanks,

-Rob

--
[EMAIL PROTECTED]

_________________________________________________________________
Limited-time offer: Fast, reliable MSN 9 Dial-up Internet access FREE for 2 months! http://join.msn.com/?page=dept/dialup&pgmarket=en-us&ST=1/go/onm00200361ave/direct/01/




Reply via email to