[jboss-user] [EJB/JBoss] - Re: IllegalAccessError when trying to implement custom log4j

tomstrummer do-not-reply at jboss.com
Thu Nov 6 14:59:03 EST 2008


-- Bump

I'm seeing this same problem; albeit for a slightly different reason.  I'm using SLF4J-log4j, which seems like it's attempting to set the priority.  Here's the relevant stacktrace bits:


  |  java.lang.IllegalAccessError: tried to access field org.apache.log4j.Priority.level from 
  | class org.apache.log4j.Hierarchy
  |         at org.apache.log4j.Hierarchy.setThreshold(Hierarchy.java:180)
  |         at org.apache.log4j.Hierarchy.<init>(Hierarchy.java:91)
  |         at org.apache.log4j.LogManager.<clinit>(LogManager.java:78)
  |         at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
  |         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:178)
  | 

Thanks in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187514#4187514

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187514



More information about the jboss-user mailing list