Skip to content

Commit

Permalink
Fix SLF4J: Class path contains multiple SLF4J bin
Browse files Browse the repository at this point in the history
Exclude the slf4j-simple.jar and include the proper version
of slf4j-log4j12.jar.
  • Loading branch information
dr0i committed Sep 18, 2023
1 parent af05255 commit 99b7f70
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,25 @@ libraryDependencies ++= Seq(
// otherwise javaWs won't work
exclude ("io.netty", "netty"),
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.15.1",
"com.github.jsonld-java" % "jsonld-java" % "0.13.4",
"com.github.jsonld-java" % "jsonld-java" % "0.13.4" exclude("org.slf4j", "slf4j-log4j12"),,
"org.apache.jena" % "jena-arq" % "3.17.0",
"org.metafacture" % "metamorph" % "5.7.0-rc1",
"org.metafacture" % "metamorph" % "5.7.0-rc1" exclude("org.slf4j", "slf4j-simple"),
"org.metafacture" % "metafacture-elasticsearch" % "5.7.0-rc1",
"org.metafacture" % "metamorph-test" % "5.7.0-rc1",
"org.metafacture" % "metafacture-json" % "5.7.0-rc1",
"org.metafacture" % "metafacture-json" % "5.7.0-rc1" exclude("org.slf4j", "slf4j-log4j12"),
"org.metafacture" % "metafacture-csv" % "5.7.0-rc1",
"org.metafacture" % "metafacture-io" % "5.7.0-rc1",
"org.metafacture" % "metafacture-triples" % "5.7.0-rc1",
"org.metafacture" % "metafacture-biblio" % "5.7.0-rc1",
"org.metafacture" % "metafacture-triples" % "5.7.0-rc1" exclude("org.slf4j", "slf4j-log4j12"),
"org.metafacture" % "metafacture-biblio" % "5.7.0-rc1" exclude("org.slf4j", "slf4j-log4j12"),
"org.metafacture" % "metafacture-xml" % "5.7.0-rc1",
"org.metafacture" % "metafacture-framework" % "5.7.0-rc1",
"org.metafacture" % "metafacture-strings" % "5.7.0-rc1",
"org.metafacture" % "metafix" % "0.6.0-SNAPSHOT",
"org.xbib.elasticsearch.plugin" % "elasticsearch-plugin-bundle" % "2.3.2.0",
"com.jayway.jsonpath" % "json-path" % "2.2.0",
"com.jayway.jsonpath" % "json-path" % "2.2.0" exclude("org.slf4j", "slf4j-log4j12"),
"net.java.dev.jna" % "jna" % "4.1.0",
"com.github.spullara.mustache.java" % "compiler" % "0.8.13"
"com.github.spullara.mustache.java" % "compiler" % "0.8.13",
"org.slf4j" % "slf4j-reload4j" % "1.7.36"
)

// force play to use these versions (ignoring transitive dependencies)
Expand Down

0 comments on commit 99b7f70

Please sign in to comment.