![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2SE/J2EE
xray_gu
这个作者很懒,什么都没留下…
展开
-
could not initialize proxy - the owning Session was closed
当使用spring+hibernate+struts2的时候,会遇到此问题。 大概异常描述 :org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Sess原创 2007-06-18 09:04:00 · 1929 阅读 · 1 评论 -
struts2 + spring 整合的问题
最近我们开的项目使用struts2+spring的时候,在遇到提交页面的遇到dao为空(已经在spring里注入),大概异常见下: java.lang.NullPointerExceptioncom.richser.web.action.ServiceAction.save(ServiceAction.java:55)sun.reflect.NativeMet原创 2007-06-18 09:17:00 · 1005 阅读 · 0 评论