JBoss EAP 5 の "Class path contains multiple SLF4J bindings" エラー
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 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.
