摘要: 17:40:17,249 ERROR DefaultDispatcherErrorHandler:42 - Exception occurred during processing request: could not initialize proxy - no Session org.hibern 阅读全文
posted @ 2017-12-16 17:45 懒人写博客 阅读(3273) 评论(0) 推荐(0)
摘要: 整体结构: 1.引入相关jar包 2.编写实体类和映射文件 package cn.zqr.domain; public class Customer { private Long cust_id; private String cust_name; private Long cust_user_id 阅读全文
posted @ 2017-12-16 16:45 懒人写博客 阅读(183) 评论(0) 推荐(0)
摘要: 整体结构 1.导入响应的jar包 2.在web.xml中配置struts的过滤器和spring整合web的监听器 <!--配置Spring整合web的监听器--> <listener> <listener-class>org.springframework.web.context.ContextLo 阅读全文
posted @ 2017-12-16 12:56 懒人写博客 阅读(210) 评论(0) 推荐(0)
摘要: 1.错误日志: nested exception is java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;: java.lang.ClassNotFoundException: org.hibernate. 阅读全文
posted @ 2017-12-16 12:27 懒人写博客 阅读(1848) 评论(0) 推荐(0)