Tuesday, April 28, 2009

<f:view> WSViewRoot incompatible with UIOutput ClassCastException

 

This is the type of exception messages you get when you try and deploy a JSF page that uses JSF custom tags, but does not have an f:view tag surrounding the tags.

All JSF tags must, at some point in their hierarchy, be surrounded by <f:view> … </f:view> tags.

[4/28/09 17:12:13:562 PDT] 0000001f ServletWrappe E   SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /index.jsp. Exception thrown : javax.servlet.ServletException: com.ibm.ws.jsf.application.WSViewRoot incompatible with javax.faces.component.UIOutput
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
    at com.ibm._jsp._index._jspService(_index.java:78)

---- Begin backtrace for Nested Throwables
java.lang.ClassCastException: com.ibm.ws.jsf.application.WSViewRoot incompatible with javax.faces.component.UIOutput at com.sun.faces.taglib.html_basic.OutputLinkTag.setProperties(OutputLinkTag.java:203)
ServletWrappe E   SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Faces Servlet. Exception thrown : javax.servlet.ServletException: com.ibm.ws.jsf.application.WSViewRoot incompatible with javax.faces.component.UIOutput at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)

java.lang.ClassCastException: com.ibm.ws.jsf.application.WSViewRoot incompatible with javax.faces.component.UIOutput at com.sun.faces.taglib.html_basic.OutputLinkTag.setProperties(OutputLinkTag.java:203) at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:716)

E   [Servlet Error]-[Faces Servlet]: java.lang.ClassCastException: com.ibm.ws.jsf.application.WSViewRoot incompatible with javax.faces.component.UIOutput at com.sun.faces.taglib.html_basic.OutputLinkTag.setProperties(OutputLinkTag.java:203)

No comments:

Post a Comment

Followers