installing xerces-j
843834Jan 3 2003 — edited Jan 3 2003I download Xerces-J-bin.2.2.1.zip as I wanted to parse an xml document using SAX. I ran it on the some pre-existing code and it complied fine but when I ran the program I got the folloing error:
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory
.java:121)
My guess is that there is something wrong with the class path. The two jar files that I added to the class path are xercesImpl.jar and xmlParserAPIs.jar. Previous versions of the Apache Xerces parser had just one jar file to add to the class path (i think it was paser.jar). Is there anything else I need to add to my classpath? I added the working directory (in which my program resides) but that didn't seem to make much sense, and it didn't help.
any ideas?