日期:2014-05-18  浏览次数:20678 次

这个错误是什么意思?
javax.servlet.jsp.JspException:   Exception   thrown   by   getter   for   property:
"report.reportData "   of   bean:   "FarmReportTenDaysForm "
at   org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:969)
at   org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:232)
at   _mms._report._viewfarmreporttendays__jsp._jspService(D:\eclipse3.2\workspace\espc\web\mms\report\viewFarmReportTenDays.jsp:84)
at   com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at   com.caucho.jsp.Page.subservice(Page.java:506)
at   com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at   com.caucho.server.http.Invocation.service(Invocation.java:315)
at   com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:222)
at   com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:103)
at   com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:80)
at   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
at   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
at   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
at   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at   com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at   org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
at   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at   com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
at   org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at   org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at   com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
at   com.caucho.server.http.Invocation.service(Invocation.java:315)
at   com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at   com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
at   com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at   java.lang.Thread.run(Thread.java:595)

viewFarmReportTenDays.jsp:84   是这样写的: <logic:iterate   id= "record "   name= "FarmReportTenDaysForm "   property= "report.reportData "   indexId= "s ">

report类中,有reportDate这个方法。
为什么还有这样的错误出现。


------解决方案--------------------
FarmReportTenDaysForm类中的getter函数不符合规范
------解决方案--------------------
jsp页面的错误