ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikramjit singh" <>
Subject RE: java.lang.InstantiationException: Using ANT 1.6
Date Wed, 30 Oct 2002 08:46:05 GMT
Hi Stefan,

u were right, when i completely deleted the classpath, then ant 1.6 worked.
But when i added the classpath again, it again gave the same problem.
And i also did hard disk search to check where ant.jar is, it's there in
many places, but not in jdk/jre directory. I had checked this before too,
had done everything what the manual says :).

To test what value in the classpath is giving the problem, if in my
classpath i add D:\BEA\weblogic700\server\lib\weblogic.jar, then i get the
same error, but when i remove the weblogic.jar from classpath, then it works

Any reason why adding weblogic.jar in the classpath is the cause of the


-----Original Message-----
From: Stefan Bodewig []
Sent: Thursday, October 30, 2003 1:17 PM
Subject: Re: java.lang.InstantiationException:
Using ANT 1.6

On Wed, 30 Oct 2002, vikramjit singh <>

> **The classpath does not contain any reference to ant directories or
> jar files.

Absolutely sure?  The best test would be a completely empty
CLASSPATH.  Also, some people find that ant.jar has made it into the
lib/ext directory of their JDK/JRE somehow.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message