Spring管理Hibernate开发 net/sf/hibernate/Session
来源:互联网 发布:淘宝联盟4.3.2安装包 编辑:程序博客网 时间:2024/06/04 23:22
转自:http://www.ziki.cn/blog/archives/1155299857.html
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDao' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/hibernate/Session java.lang.NoClassDefFoundError: net/sf/hibernate/Session
错误原因:
Hibernate3使用Spring Hibernate2 HibernateDaoSupport 的版本 继承错误了
import org.springframework.orm.hibernate.support.HibernateDaoSupport;
该为
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
- Spring管理Hibernate开发 net/sf/hibernate/Session
- spring 管理hibernate session
- net.sf.hibernate.MappingException
- net.sf.hibernate.PropertyNotFoundExceptio
- net.sf.hibernate.MappingException
- net.sf.hibernate.PropertyNotFoundException
- The type net.sf.hibernate.Session cannot be resolved.
- Spring整合Hibernate【Session管理】
- Spring整合Hibernate【Session管理】
- spring+hibernate里session的管理
- spring整合hibernate关于session的管理
- spring整合hibernate关于session的管理
- spring整合hibernate关于session的管理
- spring整合hibernate关于session的管理
- spring整合hibernate关于session的管理 .
- Spring对Hibernate session的管理
- spring管理hibernate获取session方法
- Hibernate 开发指南之Session管理
- 在NET中控制HTML元素
- JavaScript的多线程,利用了一张gif图片
- JAVA学习笔记[1]装箱拆箱
- native2ascii 编码转换
- c#中字符格式化常用方式
- Spring管理Hibernate开发 net/sf/hibernate/Session
- 趣味题系列(5):
- 获取HTML中的父控件方法
- Oracle 9i 角色列表
- ASP.NET中穿过代理服务器取远程用户真实IP地址
- Java编程那些事儿23—逻辑运算符
- 判断32位整数二进制中1的个数
- [转帖]如何理解C和C++的复杂类型声明
- Exception thrown by getter for property, bean org.apache.struts.taglib.html.BEAN