Ola galera estou montando um projeto e ao executar a pagina ocorre o erro no binding="#{alunoBean.objDataTableAluno} porem esta tudo correto aparentimento mas ao executar o tomcat informa um erro , alguem pode ajudar
Erro :
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /listaAluno.jsp at line 19
16: <f:view>
17: <h:outputText styleClass="title" value="Listagem dos alunos" /><br><br>
18: <h:form>
19: <rich:dataTable id="alunos" border="1" value="#{alunoBean.lista}" binding="#{alunoBean.objDataTableAluno}" var="a" rendered="#{not empty alunoBean.lista}" rows="6">
20: <h:column>
21: <f:facet name="header">
22: <h:outputText value="Id" />
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:439)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:114)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
root cause
javax.faces.FacesException: javax.faces.el.PropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'objDataTableAluno' not found on type controle.AlunoBean
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:575)
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:201)
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:476)
mas olha o que esta falando esta la
Bean : AlunoBean
private Aluno aluno = new Aluno();
private List<Aluno> lista = new ArrayList<Aluno>();
private UIData objDataTableAluno;
Lista Aluno :
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="ajax"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<html>
<head>
<title>Lista De Alunos</title>
<link href="css/estilo.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<f:view>
<h:outputText styleClass="title" value="Listagem dos alunos" /><br><br>
<h:form>
<rich:dataTable id="alunos" border="1" value="#{alunoBean.lista}" binding="#{alunoBean.objDataTableAluno}" var="a" rendered="#{not empty alunoBean.lista}" rows="6">
<h:column>
<f:facet name="header">
<h:outputText value="Id" />
</f:facet>
<h:outputText value="#{a.id}" />
</h:column>