exception is java.lang.NoSuchFieldError: INSTANCE
2015-11-18 16:32
656 查看
Java代码
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.hibernate.cfg.AnnotationConfiguration]: Constructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANCE
删除hibernate-annotations.jar和hibernate-commons-annotations.jar
以为hibernate3.6包里已经包含以上两包了
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.hibernate.cfg.AnnotationConfiguration]: Constructor threw exception; nested exception is java.lang.NoSuchFieldError: INSTANCE
删除hibernate-annotations.jar和hibernate-commons-annotations.jar
以为hibernate3.6包里已经包含以上两包了
相关文章推荐
- Eclipse中配置weka
- 结合Netty与Protobuf小栗子
- 深入Java系列——面向对象之(一)——抽象
- java 快排练习
- 【java基础】java中的char类型
- Thread.java start方法和run方法的区别
- 【java基础】Java中Unicode、编码的理解
- java 生产者消费者
- 《深入理解Java虚拟机》笔记一
- eclipse 配置黑色主题
- eclipse设置
- Spring定时器--时间设置规则
- java动态代理模式
- [LeetCode][Java]The Skyline Problem
- CS378: Autonomous Intelligent Robotics (FRI) -- Spring 2013
- java 字节流和字符流的区别
- 用标准版的Eclipse搭建PHP环境
- spring获取数组参数(二)
- Java编程实现中英混合字符串数组按首字母排序的方法
- 导入java项目到eclipse中中文乱码的解决办法