mikakoivisto/liferay-maven-incubation — Issue #6: slf4j into util-java : duplicate StaticLoggerBinder
Author: astik
Created: 2012-01-24 10:20:22+00:00
State: open

Into util-java-6.1.0, there are classes relative to slf4j :
- org.slf4j.impl.StaticLoggerBinder
- org.slf4j.impl.StaticMarkerBinder
- org.slf4j.impl.StaticMDCBinder
Is this normal ?

While compiling my project, I get :
SLF4J: The requested version 1.6.4 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/rogon/.m2/repository/com/liferay/portal/util-java/6.1.0/util-java-6.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/rogon/.m2/repository/org/slf4j/slf4j-log4j12/1.5.11/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

I have to admit that I'm not a big fan of defining classes with the same namespace of well-known framework / toolkit ...