Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
None
-
None
-
None
-
Centos 7
-
blocker
-
P1
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