01 2018 档案
摘要:SSH配置启动后Tomcat后,报错:Could not instantiate bean class [org.hibernate.cfg.Configuration]: 解决方法:用rar打开 hibernate3.jar,里面已经包含annotations相关包,与老版本冲突。解决的方法:将l
阅读全文
摘要:问题1 错误信息 :/web-inf/jsp/nsfw/user/editui.jsp Unterminated <s:textfield tag 解决办法 : 查看editui.jsp 的 s:textfield 是否有异常结束符 。 查到该处有异常符号 !造成的错误信息。 问题 2 错误信
阅读全文
摘要:lazy=true ; 是对关联的类 不自动加载 类的属性; lazy=false 是将关联的类的属性自动加载 cascade 级联 更新 级联保存 级联删除!
阅读全文
摘要:Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer] at org.hibernate.t
阅读全文
摘要:一、定义bean的三种途径: 首先编写Student和Teacher两个类 public class Student { private String name; private Teacher teacher; public String getName() { return name; } pu
阅读全文