摘要: 异常描述: 启动Tomcat时,发生java.lang.ClassCastException: org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor cannot be cast to javax.servle 阅读全文
posted @ 2017-08-10 20:26 tan90丶 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: 基于Maven的ssh2整合,Struts2.3.24+Spring4.2.4+Hibernate5.0.7 完整文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc 阅读全文
posted @ 2017-08-10 18:02 tan90丶 阅读(3787) 评论(0) 推荐(0) 编辑
摘要: 源码下载:点我 一、数据库准备 1.创建数据库maven create database maven character set utf8 collate utf8_general_ci; //use maven; 2.创建用户表 create table t_users( id int prima 阅读全文
posted @ 2017-08-10 17:38 tan90丶 阅读(747) 评论(0) 推荐(0) 编辑