Re: NoClassDefFoundError

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <12ad01c41249$183beeb0$6401a8c0@northgate>
When you run javap against the classes, does it show the package you expect?

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: Thursday, March 25, 2004 3:36 AM
Subject: Re: NoClassDefFoundError


It exists in.....
/root/jbproject/quote/classes/com/soapuser/soap/client/quotation/GetQuotationsByAuthor.class
In the script i even tried with the path......... 
"set CLASSPATH=${CLASSPATH}:/root/jbproject/quote/classes"


Scott Nichol <[email protected]> wrote:
No, I was asking whether /root/jbproject/quote/com/soapuser/soap/client/quotation/GetQuotationsByAuthor.class
exists.

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" 
To: 
Sent: Wednesday, March 24, 2004 12:02 PM
Subject: Re: NoClassDefFoundError


yes, this file exist as "testquoteservice.sh" as given
below..... 


--- Scott Nichol 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" 
> To: 
> 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




---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
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.