You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/08/12 10:55:53 UTC

DO NOT REPLY [Bug 30611] - java.lang.InstantiationException - starting ANT

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30611>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30611

java.lang.InstantiationException - starting ANT





------- Additional Comments From stevel@apache.org  2004-08-12 08:55 -------
Wierd. 

"Thrown when an application tries to use the Java new construct to instantiate
an abstract class or an interface.

Normally, this error is caught by the compiler; this error can only occur at run
time if the definition of a class has incompatibly changed. "

This is a linkage error of some form or other. I would hypothesise that
somewhere on your classpath you have an old copy of ant.jar, an incompatible
copy of ant.sh, or the like

1. what is CLASSPATH?

2. set the env variable ant_exec_debug , run ant and see whats get printed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org