Hi

Seems to me like a classpath problem. Tomcat can not find the implementation
of the SAX API. Where have you put the xerces jar files?
Maybe have a try in putting these in $CATALINA_HOME/common/lib or
$CATALINA_HOME/webapps/name-app/web-inf/lib/

Hope this help

Xavier

> Hi, I've looked high and low for documentation on dynamic class loading
for tomcat 4.0.1.  Can't seem to find an answer to this problem.  I'm trying
to use Xerces-J 2.0.1 parser in a class using the tomcat.
>
> I receive the following message:
>
> Preparing to create XML Reader using Xerces Parser
> java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:130)
>         at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
> Source)
>         at ValidatorService.validate(ValidatorService.java:60)
>
> etc...
>
> This came from the following java statement:
>
> XMLReader reader =
> XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
>
> Is this a Tomcat, Xerces or dumb user problem?
>
> thanks - edwardJones
> --
>
****************************************************************************
>  Edward R. Jones, Ph.D.            |  email:   [EMAIL PROTECTED]
>  Texas A&M Univ. - Corpus Christi  |  phone:   (361) 825-5840
>
****************************************************************************
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to