Translated message

A translation of this page exists in English.

JBoss EAP 5 の "Class path contains multiple SLF4J bindings" エラー

Solution Unverified - Updated -

Issue

EAP 5 で、RESTEasy の war を実行するために、jboss-eap-5.0/resteasy ディレクトリから jboss/server/PROFILE/deploy に resteasy-jaxrs.war をコピーすると、ログにエラーメッセージが記録されます。

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

  • 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