错误代码如下:jetty运行正常
com.jfinal.render.RenderException: com.jfinal.template.TemplateException: Field not found: "obj.first_name" and getter method not found: "obj.getFirst_name()"
Template: "/front/search_tabbar.html". Line: 40
at com.jfinal.render.TemplateRender.render(TemplateRender.java:63)
at com.jfinal.core.ActionHandler.handle(ActionHandler.java:99)
at com.javen.handler.BaseContextPathHandler.handle(BaseContextPathHandler.java:41)
at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:48)
at com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:75)
at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.jfinal.template.TemplateException: Field not found: "obj.first_name" and getter method not found: "obj.getFirst_name()"
Template: "/front/search_tabbar.html". Line: 40
at com.jfinal.template.expr.ast.Field.eval(Field.java:111)
at com.jfinal.template.expr.ast.ExprList.eval(ExprList.java:67)
at com.jfinal.template.stat.ast.Output.exec(Output.java:48)
at com.jfinal.template.stat.ast.StatList.exec(StatList.java:48)
at com.jfinal.template.stat.ast.For.forIterator(For.java:74)
at com.jfinal.template.stat.ast.For.exec(For.java:53)
at com.jfinal.template.stat.ast.StatList.exec(StatList.java:48)
at com.jfinal.template.Template.render(Template.java:49)
at com.jfinal.render.TemplateRender.render(TemplateRender.java:60)
... 22 more