Reputation: 219
I try to learn RCP and want to do this but when I click run then i got multiple binding
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://940.fwk970900790:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://940.fwk970900790:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
How can I fix it?
Thanks, patrio
Upvotes: 1
Views: 3623
Reputation: 13512
There can be multiple issue in your environment
For Maven User do this
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
Upvotes: 2