Exception_02
来源:互联网 发布:淘宝不同店铺重复铺货 编辑:程序博客网 时间:2024/04/29 22:55
6.org.apache.jasper.JasperException: /user/bussupdate.jsp(141,6) Attribute selected invalid for tag option according to TLD
标签错误
7.
17:16:39,563 ERROR AbstractFlushingEventListener:301 - Could not synchronize database state with session
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: netctoss.entity.Users
8.
java.lang.IllegalArgumentException: No bean specified
表单ActionForm 读取错误
在edit时,因为 userServices对象 修改时,要通过两个属性来表达
poperty 是为保存修改时来用的,因为他有两个外键ID,
而显示在页面上要用request.setAttribute() 方法传到页面上,用EL表达式来显示
9.
javax.servlet.jsp.JspException: Getter for property userServices.price.name threw exception:
org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
继承自泛型的findByPK() 方法,没有join fetch
要重载该方法
10.
javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
因为<c:ForEach item="${}">