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

Thx
Kailash



From: Diane Holt <[EMAIL PROTECTED]> on 03/25/2002 01:37 AM

Please respond to Ant Users List <[EMAIL PROTECTED]>

To:   Ant Users List <[EMAIL PROTECTED]>
cc:

Subject:  Re: classpath issue when compiling jsps

--- [EMAIL PROTECTED] 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

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>








--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to