You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rajeev Singh <rs...@zapapp.com> on 2002/05/24 12:19:57 UTC

Tomcat error, BeginnerQuestion


I am using Tomcat4.0.3.
I have removed xerces and placed xalanXXX, xercesXXX and xml-apis.jar
and change entries in web.xml and restarted the tomcat. I got following
exception. I am using Cocoon2.0.2.

====Error starts here=====

type fatal

message SAX2 driver class org.apache.xerces.parsers.SAXParser does not
implement XMLReader

description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
	at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.gene
rateCode(AbstractMarkupLanguage.java:377)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:365)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:328)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:291)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
	at java.lang.Thread.run(Thread.java:484)


request-uri

/cocoon/

path-info
==================error ends==============


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>