ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kailash.Subraman...@alltel.com
Subject Re: classpath issue when compiling jsps
Date Mon, 25 Mar 2002 19:18:03 GMT

That's it. It worked. Thanks a lot, Diane.

Thx
Kailash



From: Diane Holt <holtdl@yahoo.com> on 03/25/2002 01:37 AM

Please respond to Ant Users List <ant-user@jakarta.apache.org>

To:   Ant Users List <ant-user@jakarta.apache.org>
cc:

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