You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ender Hikmet KILIÇOGLU <en...@kilicoglu.nom.tr> on 2002/01/09 17:16:02 UTC

java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

It sounds familier for some one?
found some xerces related articles about the problem but nothing. I tried
all suggestion. What I did wrong.

My system is
tomcat 4.01 release
sun jdk 1.4.0 linux beta3
also tried with 1.3.1 version
Note: There is only one xerces file in path.  "/common/lib/xerces.jar"
deleted (I tried also with)

Same war works with win version of same combination. (same xerces.jar file).

rest of the error message

java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
	at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
java:103)
	at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
	at
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
che.java:165)
	at
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
	at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)


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


Re: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

Posted by Santiago Gala <sg...@hisitech.com>.
Ender Hikmet KILIÇOGLU wrote:

>It sounds familier for some one?
>found some xerces related articles about the problem but nothing. I tried
>all suggestion. What I did wrong.
>
>My system is
>tomcat 4.01 release
>sun jdk 1.4.0 linux beta3
>also tried with 1.3.1 version
>Note: There is only one xerces file in path.  "/common/lib/xerces.jar"
>deleted (I tried also with)
>
I'm seeing the same problem with tomcat-4.1-dev

I have been toying around with jars, to no avail.

jdk1.4beta has a jaxp implementation inside, this is related with the 
problem. This is the reason why cocoon people starting bundling a xerces 
and a xalan devoid of jaxp/trax classes, and a separate xml-apis.jar for 
jdk1.3.x/1.2.x

Hope this helps.

If you find something, please report the winner configuration here. 
Thanks in advance ;)

>
>Same war works with win version of same combination. (same xerces.jar file).
>
>rest of the error message
>
>java.lang.ClassCastException:
>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
>	at
>javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
>java:103)
>	at
>org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
>	at
>org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
>che.java:165)
>	at
>org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
>	at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>




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