Dear All,
I am trying to create xmlreader object, by using the statement below.
XMLReader xmlR =
XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
This statement( and the program HelloWorld.java) works very well with jdk1.2 but with
jdk 1.4 it gives the following exception
java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory
.java:118)
at HelloWorld.doAllThings(HelloWorld.java:45)
at HelloWorld.main(HelloWorld.java:17)
Can any one tell me the possible reason for this exception.
It is to be noted that I do have org/apache/xerces/parsers/SAXParser in my system
class path in both cases and my program
HelloWorld.java is exactly same in both cases.
Please excuse me if this question is not directly related to JSPs.
Thanks
Mahesh
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com