ververica / flink-jdbc-driver

Apache License 2.0
128 stars 61 forks source link

SLF4J: Class path contains multiple SLF4J bindings. #11

Open Galthen opened 3 years ago

Galthen commented 3 years ago

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/Users/chenyang/Documents/lib/flink-jdbc-driver-0.1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/chenyang/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.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]

The StaticLoggerBinder in flink-jdbc-driver will conflict with logback-classic. If the dependency on logback-classic is excluded, springboot will not enter the log.