Re: NoClassDefFoundError

murugesh dour <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <[email protected]>
yes, this file exist as "testquoteservice.sh" as given
below..... 


--- Scott Nichol <[email protected]> wrote:
> 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....
> 
> [root@localhost 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
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.