IllegalAccessError org.apache.log4j

Solution Unverified - Updated -

Issue

2010-09-30 18:57:15,046 ERROR [org.apache.catalina.core.ContainerBase] Error configuring application listener of class org.springframework.web.context.request.RequestContextListener
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)

Environment

JBoss EAP 4.3.0.GA_CP03

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content