Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Noussair Oulhaj
, 1 year ago
org.ajax4jsf.component.AjaxViewRoot cannot be cast to org.richfaces.component.html.HtmlDataTable
java.lang.ClassCastException: org.ajax4jsf.component.AjaxViewRoot cannot be cast to org.richfaces.component.html.HtmlDataTable	at org.richfaces.taglib.DataTableTag.setProperties(DataTableTag.java:673)	at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:604)	at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1111)	at org.apache.jsp.pages.table_jsp._jspx_meth_rich_005fdataTable_005f0(table_jsp.java:106)	at org.apache.jsp.pages.table_jsp._jspService(table_jsp.java:74)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:439)	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:114)	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)