You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Gergely Gati <ge...@isis-server.isis.vanderbilt.edu> on 2002/11/19 21:33:02 UTC
can not find rt.jar classes
Hi,
I would like to invoke castor (as a java application) from a java task,
and I get
[java] java.lang.NoClassDefFoundError: sun/reflect/MethodAccessorImpl
I checked it and this class is located in rt.jar (I use JDK 1.4.1).
My CLASSPATH environment variable is not set and I would like to keep it
that way (so developers only have to set ANT_HOME).
Why can't the <java> task not see this class in rt.jar? (I do not use fork
and compiling with ANT does work.)
Thanks,
Gergely
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>