Getting java.lang.IllegalAccessError: tried to access method... while deploying war file in JBoss EAP 6
Issue
- JBoss unable to deploy war file
- When attempting to start JBoss we are finding the following error in the
server.log
JBWEB000287: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: java.lang.IllegalAccessError: tried to access method org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonMutex()Ljava/lang/Object; from class org.springframework.context.event.AbstractApplicationEventMulticaster
- Each time we attempt to start JBoss
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.4.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
