ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Das, Sourabh (GXS)" <>
Subject RE: Build Failed : javax.xml.parsers.FactoryConfigurationError
Date Tue, 10 Jun 2003 03:49:17 GMT
I checked using the below procedure and found that the same ant components
are referenced in env.CLASSPATH as is mentioned in script from
which I am calling build.xml

Are there any changes that need to be done if we move to a higher version of
Ant apart from changing the ANT_HOME or associated jar files (if any)? I am
still able to use the build files with Ant 1.3

-----Original Message-----
From: W. Sean Hennessy []
Sent: Friday, June 06, 2003 9:09 PM
To: Ant Users List
Subject: RE: Build Failed : javax.xml.parsers.FactoryConfigurationError

Perhaps incompatible SAXParser is being picked up as a result of the change.

using <property environment="env"/> on this Windoze box and
a combination of the debug and logfile options on the ant cmd line,
"-debug -logfile wtf.log",
exposes the values of env.CLASSPATH, env.LOCALCLASSPATH.
You might want to confirm that the correct ant components are being

-----Original Message-----
From: Das, Sourabh (GXS) []
Sent: Friday, June 06, 2003 6:01 AM
Subject: Build Failed : javax.xml.parsers.FactoryConfigurationError


I was having a shell script from which I used to call the build.xml
file through the command:
java -cp $CLASSPATH -Dant.home=$ANT_HOME $1 $2 $3

This was working fine till recently I moved from Ant 1.3 to Ant 1.4.1 after
which everytime, during execution I am getting the error message:
at javax.xml.parsers.SAXParserFactory.newInstance(

I have both jaxp.jar and xerces.jar in my classpath, same as I was using
Can anyone please let me know at the earliest why is this error coming and
how to resolve this?


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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message