Remove SF4J binding from jettyRun classpath


(Guy Brand) #1

Hi,

we get the following error within our integrationTest.

:edoras-bpm-execution-sample:jettyRun
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/guy/.gradle/wrapper/dists/gradle-1.0-milestone-9-bin/7ilkmgo2rn79vvfvd51rqf17ks/gradle-1.0-milestone-9/lib/logback-classic-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/guy/.gradle/caches/artifacts-8/filestore/org.slf4j/slf4j-log4j12/1.6.3/jar/3675182d86eac13789e56b08eb674269b7c7e5e/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
:edoras-bpm-execution-sample:integrationTest

Is it possible to run jetty in a separate JVM such that we can define the classpath by ourselves? Or can we exchange the slf4j logging library with our own?

Thanks and regards,

Guy


(Szczepan Faber) #2

Hey,

We track the issues you mentioned at: GRADLE-897 and GRADLE-671.

Cheers!