Caused by: java.lang.NoSuchFieldError: TRACE

Caused by: java.lang.NoSuchFieldError: TRACE 
at org.slf4j.impl.Log4jLoggerAdapter.trace(Log4jLoggerAdapter.java:90)

看看你slf4j-api 、 slf4j-log4j12 和 log4j 版本一致吗??

比如

slf4j-api-1.6.1.jar 
slf4j-log4j12-1.6.1.jar 
log4j-1.2.16.jar

根据上面的意思,我把版本换了,换成如图

反正我 问题解决了。

Caused by: java.lang.NoSuchFieldError: TRACE

时间: 2024-10-11 12:20:17

Caused by: java.lang.NoSuchFieldError: TRACE的相关文章

java.lang.NoSuchFieldError: TRACE

Exception in thread "main" java.lang.NoSuchFieldError: TRACE    at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)    at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)    at org.jnp.interfaces.NamingContex

遇到了问题了 java.lang.NoSuchFieldError:INSTANE

使用httpclient 出现各种错误,高版本低版本都试了,错误都一样,就是类不一样,我想知道这到底是怎么回事 搞了两三天了没解.大神们....给个思路啊...jar包冲突我也试了好多遍了都不行啊. Caused by: java.lang.NoSuchFieldError: INSTANCE    at org.apache.http.impl.io.DefaultHttpRequestWriterFactory.<init>(DefaultHttpRequestWriterFactory.

Caused by: java.lang.ClassNotFoundException: javax.persistence.Entity

1.错误描写叙述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 19:41:17 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 usi

Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataPro

1.错误描写叙述 信息: MLog clients using java 1.4+ standard logging. 2014-7-12 19:29:20 com.mchange.v2.c3p0.C3P0Registry banner 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] 2014-7-12 19:29:21 org.springframework.w

Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager

1.错误叙述性说明 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 14:54:49 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 us

Caused by: java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 14:46:04 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using

Caused by: java.lang.ClassNotFoundException: org.dom4j.DocumentException

1.错误描述 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] 2014-7-12 19:18:48 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed org.springframework.beans.f

Caused by: java.lang.ClassNotFoundException: org.jboss.logging.BasicLogger

1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 19:35:50 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using

Caused by java lang ClassNotFoundException org dom4j Docum

1.错误描述 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] 2014-7-12 19:18:48 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed org.springframework.beans.f