Class path contains multiple SLF4J bindings
Hello Team,
Can any one help me on the below issue regarding "Class path contains multiple SLF4J bindings"
My application:
===========
We need to execute the SCALA activity(JAR File) through Azure ADF Pipeline.
Issue:
=====
I have used the below versions for creation of new project using intelliJ with SBT. Created a class file and submit this class file to cluster using IDE (By click on the link "Submit myspark application to HDCluster").Resulting the below error.
i also tried to execute this using Azure ADF Pipeline, i am getting the same issue (through ADF Pipeline by uploading the respective Jar file into blobstore).
Also I have tried to use the exclude statements like below however it is not working.
Exclude statements in build.sbt file:
============================
.map(_.force())
libraryDependencies ~= { _.map(_.exclude("org.slf4j", "slf4j-nop"))
Please try to help me to resolve this ASAP.
My Scala Project Versions:
===================
scalaVersion := "2.11.8"
SBT version : 0.13.17
Error Details:
=========
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.3005-23/spark2/jars/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.3005-23/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.6.5.3005-23/spark_llap/spark-llap-assembly-1.0.0.2.6.5.3005-23.jar!/org/slf4j/impl/StaticLoggerBinder.class]
Please sign in to leave a comment.