# re: java.lang.NoSuchFieldError: TRACE :Log4j
2009-05-15 15:20 |
Even though I have added log4j-1.2.15.jar to my project class path, I am still facing this error. Please let me know the fix to this issue:
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
at com.patientis.client.security.login.LoginController.main(LoginController.java:137)
Caused by: 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.discoverServer(NamingContext.java:1162)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1400)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.patientis.client.service.common.BaseService.getReference(BaseService.java:102)
at com.patientis.client.service.reference.ReferenceService.getBean(ReferenceService.java:117)
at com.patientis.client.service.reference.ReferenceService$77.execute(ReferenceService.java:1675)
at com.patientis.client.service.common.BaseService.cacheOrCall(BaseService.java:320)
at com.patientis.client.service.common.BaseService.callLogged(BaseService.java:243)
at com.patientis.client.service.common.BaseService.call(BaseService.java:192)
at com.patientis.client.service.reference.ReferenceService.getLanguageRefId(ReferenceService.java:1677)
at com.patientis.client.common.ClientSettings.configureLanguageFont(ClientSettings.java:66)
at com.patientis.client.security.login.LoginController.configureServices(LoginController.java:170)
at com.patientis.client.security.login.LoginController$1.run(LoginController.java:141)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
回复 更多评论