if you have . in your class path and you are in /home/sup/programs/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/classes or if you have /home/sup/programs/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/classes in your class path, it should work. What does echo $CLASSPATH give you?
At 11:58 PM 7/2/2002 +0800, you wrote: >I seem to get the same error when I use the path you >specified. > >Error msg: > >[root@localhost classes]# pwd >/home/sup/programs/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/classes >[root@localhost classes]# java samples.stock.GetQuote >-lhttp://localhost:8080/axis/servlet/AxisServlet >-uuser1 -wpass1 XXX >java.lang.ClassNotFoundException: >samples/stock/GetQuote > at java.lang.Class.forName(Class.java:native) > at java.lang.Class.forName(Class.java:52) >[root@localhost classes]# > >-Supriyo > > --- Carl Trusiak <[EMAIL PROTECTED]> wrote: > >It's not finding the client. You are in the wrong > > directory. > > pwd > > >/home/sup/programs/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/classes/samples/stock > > > > You need to be at > > >/home/sup/programs/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/classes > > > > Retry the example from there. > >__________________________________________________ >Do You Yahoo!? >Yahoo! Tech - Get in touch with the latest in technology. >http://sg.tech.yahoo.com Noel Tijerino Lawrence Livermore National Laboratory [EMAIL PROTECTED] work: 925.422.0473 Stick that in your compiler and de-bug it!
