javax.el.PropertyNotFoundException


錯誤詳情:
  javax.el.PropertyNotFoundException: Property 'TypeId' not found on type enrity.CrowdEntity
  at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
  at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
  at javax.el.BeanELResolver.property(BeanELResolver.java:300)
  at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
  at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
錯誤解釋:
  El表達式中的屬性未找到
錯誤解決
  1.有可能是你的EL表達式語法編寫錯誤
    比如:
      <c:forEach items="cart" var="c">  要修改成
      <c:forEach items="${cart }" var="c">     
  2.有可以能是你寫在屬性字段編寫不屬於JavaBeans的編寫規范(首字母小寫)
    屬性的前兩個字母不能是一大一小,或者是一小一大。開頭字母要小寫才行
    比如:
      <td>${w.TypeId }</td>    要修改成   <td>${w.typeId }</td>
      <td>${w.IdNumber }</td>    要修改成  <td>${w.idNumber }</td>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM