Unable to find a value for "mc_id" in object of class "com.oa.model.CompanyInfo_
我在页面是获取查询到的数据 其他的都可以显示 就是这个mc_id报错 不能显示,开始以为是拼写错误,修改后还是不行,我在能显示的是同一张表的数据,
这个错误一般要到哪里找啊
select companyinf0_.id as id20_0_, companyinf0_.cus_ID as cus2_20_0_, companyinf0_.mC_ID as mC3_20_0_, companyinf0_.cus_MC as cus4_20_0_, companyinf0_.cus_HY as cus5_20_0_, companyinf0_.cus_YW as cus6_20_0_, companyinf0_.cus_DZ as cus7_20_0_, companyinf0_.cus_FZR as cus8_20_0_, companyinf0_.cus_DH as cus9_20_0_, companyinf0_.cus_ZH as cus10_20_0_, companyinf0_.cus_LX as cus11_20_0_, companyinf0_.cus_RepR_ID as cus12_20_0_, companyinf0_.mcus_name as mcus13_20_0_, companyinf0_.cus_RepR_Name as cus14_20_0_, companyinf0_.cus_pw as cus15_20_0_ from T_CustomerInfo companyinf0_ where companyinf0_.id=?
11:06:25,515 ERROR [jsp]:711 - Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.el.ELException: Unable to find a value for "mc_id" in object of class "com.oa.model.CompanyInfo_$$_javassist_8" using operator "."
at org.apache.commons.el.Logger.logError(Logger.java:481)
at org.apache.commons.el.Logger.logError(Logger.java:498)
at org.apache.commons.el.Logger.logError(Logger.java:611)
at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:924)
at org.apache.jsp.entInfo.CompanyDetail_jsp._jspService(CompanyDetail_jsp.java:160)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)