You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Madigan, Brian" <BM...@midwaygames.com> on 2000/08/15 16:13:37 UTC

SAXParserFactory

 I could not get the binary distribution of ant to run. 
  
 java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
 at org.apache.tools.ant.Main.runBuild(Main.java:262)
 at org.apache.tools.ant.Main.main(Main.java:107)
 
 I tried other things before looking at the source:
 
 try {
 line 262:    Class.forName("javax.xml.parsers.SAXParserFactory");
 ProjectHelper.configureProject(project, buildFile);
 
	I don't have anything in _javax_ except javax.servlet; no .xml.
 This does not look like it supports all jaxp-compliant xml parsers.
 I have $CLASSPATH pointing to jaxp.jar, parser.jar and xml.jar, which
worked
 with an older distribution of Ant.