In your shell script, what do you see if you echo ${CLASSPATH} after you export it?
Does this file exist?
/root/jbproject/quote/com/soapuser/soap/client/quotation/GetQuotationsByAuthor.class
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "murugesh dour" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 5:55 AM
Subject: NoClassDefFoundError
hi
I receive this error... i fell i haven given the class
paths correctly...
help me out....
[EMAIL PROTECTED] soap]# ./testquoteservice.sh
Exception in thread "main"
java.lang.NoClassDefFoundError:
com/soapuser/soap/client/quotation/GetAllQuotations
Exception in thread "main"
java.lang.NoClassDefFoundError:
com/soapuser/soap/client/quotation/SubmitQuotation
Exception in thread "main"
java.lang.NoClassDefFoundError:
com/soapuser/soap/client/quotation/GetQuotationsByAuthor
when i excute this script...
#!/bin/sh
CLASSPATH=/home/soap/soap-2_3_1/lib/soap.jar
CLASSPATH=${CLASSPATH}:/root/javamail-1.3.1/mail.jar
CLASSPATH=${CLASSPATH}:/root/jaf-1.0.2/activation.jar
CLASSPATH=${CLASSPATH}:/root/xerces-1_2_3/xerces.jar
set CLASSPATH=${CLASSPATH}:/root/jbproject/quote
export CLASSPATH
java
com.soapuser.soap.client.quotation.GetAllQuotations
http://localhost:8080/soap/servlet/rpcrouter
java
com.soapuser.soap.client.quotation.SubmitQuotation
http://localhost:8080/soap/servlet/rpcrouter "Kennedy,
John F." "Forgive your enemies, but never forget their
names."
java
com.soapuser.soap.client.quotation.GetQuotationsByAuthor
http://localhost:8080/soap/servlet/rpcrouter "Wilde,
Oscar"
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html