ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: classpath issue when compiling jsps
Date Mon, 25 Mar 2002 12:24:23 GMT
Oh, good catch Diane.  Sorry I missed that one.

    Erik


----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, March 25, 2002 1:37 AM
Subject: Re: classpath issue when compiling jsps


> --- Kailash.Subramanian@alltel.com wrote:
> >     [apply] Exception in thread "main" java.lang.NoClassDefFoundError:
> > weblogic/jspc
> >     [apply] Result: 1
> >
> > I would appreciate any insight into this. Thanks a bunch Erik for your
> > patience and help.
>
> Just a guess, but maybe you need to pass 'java' the classpath -- ie:
>   'java -classpath .... weblogic.jspc ....'
> instead of:
>   'java weblogic.jspc -classpath ....
> so 'java' can find the Weblogic classes?
>
> > I set the classpath as environment variable and it worked like charm.
>
> I'm also going to guess that's because then 'java' is getting the
> classpath (from the env var).
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards®
> http://movies.yahoo.com/
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message