您的位置:首页 > 编程语言 > Java开发

java.lang.NoSuchFieldError: TRACE

2013-09-01 11:29 459 查看
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.NamingContext.lookup(NamingContext.java:622)

at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)

at javax.naming.InitialContext.lookup(InitialContext.java:351)

at com.cognizant.util.ServiceHelper.initQueueService(ServiceHelper.java:153)

at com.cognizant.main.StartUp.<init>(StartUp.java:28)

at com.cognizant.main.StartUp.main(StartUp.java:46)
解决:
You will require log4j jar of version 1.2.12 or higher in your classpath. Also, make sure that you do
not maintain more than one version of jar file of log4j (or for that matter any other utility) in the classpath. So remove the log4j-1.2.9.jar and log4j-boot.jar from your client's classpath and include a log4j jar of
version 1.2.12 or higher.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: