ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Ant 1.2, jdk1.2.2 and class loaders
Date Mon, 11 Dec 2000 16:19:08 GMT
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               |
*-----------------------------------------------------*


Mime
View raw message