exception is java.lang.NoSuchFieldError: INSTANCE

来源:互联网 发布:机顶盒软件 编辑:程序博客网 时间:2024/05/17 02:24
Java代码  收藏代码
  1. 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包里已经包含以上两包了

0 0
原创粉丝点击