You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/02 17:57:35 UTC

DO NOT REPLY [Bug 6374] - class not find for:org/w3c/dom/range/Range

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374

class not find for:org/w3c/dom/range/Range

vgritsenko@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cocoon-dev@xml.apache.org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From vgritsenko@apache.org  2002-03-02 16:57 -------

Just tried Catalina 4.0.3 with Cocoon CVS. If Xerces/Xalan/xml-apis JAR files 
are copied under common/lib, the result is ClassCastException:

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.generateCode
(AbstractMarkupLanguage.java:377)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateRes
ource(ProgramGeneratorImpl.java:369)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResou
rce(ProgramGeneratorImpl.java:331)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load
(ProgramGeneratorImpl.java:294)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
	at java.lang.Thread.run(Thread.java:484)

And messages in the console:

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

This seems as ClassLoader issues to me.


If mentioned files are removed from the WEB-INF of the Cocoon webapp, this 
prevents Cocoon from compiling its sitemap (Java compiler requires these files):

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
sitemap_xmap:
Line 5081, column 49:  error while loading class org.xml.sax.ContentHandler: 
java.io.IOException: file org\xml\sax\ContentHandler.class not found
Line 0, column 0: 
1 error

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