exception is java.lang.NoSuchFieldError: INSTANCE

转载 2015年11月18日 16:32:34
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包里已经包含以上两包了

相关文章推荐

nested exception is java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW

背景: 今天往项目中集成elasticsearch的时候,在spring.xml中通过xml注入bean的时候,出现下面的异常: org.springframework.beans.facto...

java.lang.NoSuchFieldError: INSTANCE

java.lang.NoSuchFieldError: INSTANCE  org.hibernate.type.BasicTypeRegistry.(BasicTypeRegistry.java:...

【Debug】Hander processing failed; nested exception is java.lang.NoClassDefFoundError; javax/servlet/j

Hander processing failed; nested exception is java.lang.NoClassDefFoundError; javax/servlet/jsp/jstl...

nested exception is java.lang.NoClassDefFoundError: org/springframework/data/geo/GeoResults

严重: Exception sending context initialized event to listener instance of class org.springframework.we...

解决nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

在做Mybatis3.1 + Spring3.05 集成时,配置事务出现的错误,以下是由于缺少aopalliance-1.0.jar 包 org.springframework.beans.fact...

c3p0异常,exception is java.lang.NoClassDefFoundError: com/mchange/v2/log/jdk14logging/ForwardingLogger

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' ...

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen...

spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr

spring 调度类初始化失败,分析是jar包冲突,日志如下: org.springframework.beans.factory.BeanCreationException: Error creat...

Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFa

添加上如下的一句就可以了 default-autowire="byName" default-lazy-init="true" 然后Spring的配置改为 ...

Request processing failed; nested exception is java.lang.NullPointerException

七月 14, 2017 4:38:59 下午 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service(...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:exception is java.lang.NoSuchFieldError: INSTANCE
举报原因:
原因补充:

(最多只允许输入30个字)