java.lang.IllegalAccessError

tried to access field org.apache.log4j.Priority.level from class org.apache.log4j.Hierarchy

Solutions on the web1850

  • via redhat.com by Unknown author, 11 months ago
    tried to access field org.apache.log4j.Priority.level from class org.apache.log4j.Hierarchy
  • tried to access field class com.foobar.commons.impl.MyClass.serialVersionUID from class com.foobar.commons.impl.MyClass$Access4JacksonDeserializerfb8b0dbb
  • tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
  • Stack trace

    • 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:185) at org.apache.log4j.Hierarchy.<init>(Hierarchy.java:95) at org.apache.log4j.LogManager.<clinit>(LogManager.java:82) at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645) at org.springframework.web.context.request.RequestContextListener.<init>(RequestContextListener.java:55)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago