You run javap directly on the .class file, not using the classpath. In other words,
you might do
cd /root/jbproject/quote/classes/com/soapuser/soap/client/quotation
javap GetQuotationsByAuthor.class
You would want the output to start like this.
Compiled from "GetQuotationsByAuthor.java"
public class com.soapuser.soap.client.quotation.GetQuotationsByAuthor extends
java.lang.Object{
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 5:19 AM
Subject: Re: NoClassDefFoundError
No its not, gives a error could not find.
Scott Nichol <[EMAIL PROTECTED]> wrote: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"
To:
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 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....
>
> [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
>
__________________________________
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.
---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.