Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 80866 invoked from network); 30 Oct 2003 08:47:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Oct 2003 08:47:45 -0000 Received: (qmail 2596 invoked by uid 500); 30 Oct 2003 08:47:12 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 2570 invoked by uid 500); 30 Oct 2003 08:47:12 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 2547 invoked from network); 30 Oct 2003 08:47:11 -0000 Received: from unknown (HELO websmtp.corp.mphasis.com) (203.124.140.169) by daedalus.apache.org with SMTP; 30 Oct 2003 08:47:11 -0000 Received: FROM bkorex02.corp.mphasis.com BY websmtp.corp.mphasis.com ; Thu Oct 30 14:16:10 2003 +0500 Received: from bbrgfe01.corp.mphasis.com ([172.32.33.16]) by bkorex02.corp.mphasis.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 30 Oct 2003 14:16:10 +0530 Received: from GENIUSTIBCO ([192.168.31.72]) by bbrgfe01.corp.mphasis.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 30 Oct 2003 14:16:10 +0530 From: "vikramjit singh" To: "Ant Users List" Subject: RE: java.lang.InstantiationException: org.apache.tools.ant.Main Using ANT 1.6 Date: Wed, 30 Oct 2002 14:16:05 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-OriginalArrivalTime: 30 Oct 2003 08:46:10.0169 (UTC) FILETIME=[44353E90:01C39EC2] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 fine. Any reason why adding weblogic.jar in the classpath is the cause of the error. thanks, vikram. -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: Thursday, October 30, 2003 1:17 PM To: user@ant.apache.org Subject: Re: java.lang.InstantiationException: org.apache.tools.ant.Main Using ANT 1.6 On Wed, 30 Oct 2002, vikramjit singh wrote: > **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. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org