"Class path contains multiple SLF4J bindings" error on JBoss EAP 5
Issue
I'm trying to run the RESTEasy war in EAP 5. I've copied the resteasy-jaxrs.war from the jboss-eap-5.0/resteasy dir into jboss/server/PROFILE/deploy and when I start JBoss, I get an error message in the log:
ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
ERROR [STDERR] SLF4J: Found binding in [vfszip:JBOSS_HOME/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
ERROR [STDERR] SLF4J: Found binding in [vfszip:JBOSS_HOME/server/<em>PROFILE</em>/deploy/<em>YOURAPPLICATION</em>.war/WEB-INF/lib/slf4j-simple.jar/org/slf4j/impl/StaticLoggerBinder.class]
ERROR [STDERR] SLF4J: See <a href="http://www.slf4j.org/codes.html#multiple_bindings">http://www.slf4j.org/codes.html#multiple_binding</a> for an explanation.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
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.
