"Class path contains multiple SLF4J bindings" error on JBoss EAP 5

Solution Unverified - Updated -

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, 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