Just updated to Mac OS X 10.5 and suddenly Eclipse (3.3.1.1 Build id:
M20071023) ant tasks fail to run, saying:
XML parser factory has not been configured correctly: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
What jar contains org.apache.xerces.jaxp.SAXParserFactoryImpl ? If I
find it, where should it go?
-----
Outside of Eclipse, the ant (1.7.0) command fails differently:
/Users/kimball/Projects/Tanach/ant/TanachDeploy.xml:80: Problem: failed
to create task or type ftp
Cause: the class org.apache.tools.ant.taskdefs.optional.net.FTP was not
found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/Users/kimball/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
What jar contains org.apache.tools.ant.taskdefs.optional.net.FTP? It
isn't either commons-net or jakarta-oro. Where should the jar go. I'm
assuming it goes in usr/share/ant/lib.