dcsimg
ClassCastException during app start in Tomcat
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bruce_riches
Posted On:   Friday, June 26, 2009 04:28 PM

I have a JSP app that I'm converting to JSF/IceFaces. This app fails to start in Tomcat due to a ClassCastException: Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration These classes are in the xercesImpl jar. When I removed the following from web.xml it started and ran fine. javax.faces.DEFAULT_SUFFIX .jspx Does anyone know why this happens? Environment Java 6 and Tomcat 6.0.18. Thanks for any suggestions.    More>>


I have a JSP app that I'm converting to JSF/IceFaces. This app fails to start in Tomcat due to a ClassCastException:



Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration




These classes are in the xercesImpl jar.


When I removed the following from web.xml it started and ran fine.
			

javax.faces.DEFAULT_SUFFIX
.jspx



Does anyone know why this happens?
Environment Java 6 and Tomcat 6.0.18.
Thanks for any suggestions.


   <<Less
About | Sitemap | Contact