Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 95329 invoked from network); 11 Dec 2000 16:22:04 -0000 Received: from mail.alphalink.com.au (203.24.205.7) by locus.apache.org with SMTP; 11 Dec 2000 16:22:04 -0000 Received: from donalgar (d253-ps3-mel.alphalink.com.au [202.161.109.127]) by mail.alphalink.com.au (8.9.3/8.9.3) with SMTP id DAA30695; Tue, 12 Dec 2000 03:22:05 +1100 Message-Id: <3.0.6.32.20001212031908.00a0a100@latcs2.cs.latrobe.edu.au> X-Sender: pjdonald@latcs2.cs.latrobe.edu.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 12 Dec 2000 03:19:08 +1100 To: ant-user@jakarta.apache.org From: Peter Donald Subject: Re: Ant 1.2, jdk1.2.2 and class loaders Cc: ant-user@jakarta.apache.org In-Reply-To: <062569B2.00557E91.00@smtp.lawson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 09:30 11/12/00 -0600, David.Bailey@lawson.com wrote: >It seems to be unable to load the javax.xml.parsers.SAXParserFactory class a >second time. I say "for the second time", because >it clearly loads it once (sixth line from bottom of stack trace). So I'm >guessing what I have here is a class loader problem of some sort >arising from jdk1.2.2. Any suggestions? Can you echo your classpath before you execute ant. ie place echo %LOCALCLASSPATH% (on win32) echo $LOCALCLASSPATH (on *nix) before actual call to see classpath exactly. hopefully that will outline it. Could you also describe what classes you have in ext directory. Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*