Issue Type: Bug Bug
Assignee: SLF4J developers list
Created: 06/Sep/15 5:36 AM
Description:

I have centos 6 and centos 7 machines. I have copied few set of jar on both the machines(same jars). When I run my command on centos 6 command is executing perfectly. When I run same command. I am getting below error.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/var/itbmTests/slf4j-nop-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/itbmTests/logback-classic-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.helpers.NOPLoggerFactory]
Exception in thread "main" java.lang.ClassCastException: org.slf4j.helpers.NOPLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext

But, If delete jar in Centos 7 and Copy jars from centos 6 to Centos 7. i am not getting error.

If I download jars directly from my downloads, i am getting above problem..

Please help me. I am struggling from long back.

Note: both the machine has jdk1.7_25 build

Environment:

Centos 7

Project: SLF4J
Priority: Blocker Blocker
Reporter: deva kumar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to