【发布时间】:2018-07-10 06:04:09
【问题描述】:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/username/.m2/repository/ch/qos/logback/logback-classic/1.1.9/logback-classic-1.1.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/username/.m2/repository/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/username/.m2/repository/org/slf4j/slf4j-log4j12/1.7.8/slf4j-log4j12-1.7.8.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 [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
我该如何解决这个问题。 谢谢
【问题讨论】:
-
您好,欢迎来到 StackOverflow。请参阅stackoverflow.com/help/how-to-ask,了解如何提出正确的问题并根据指南改进您的问题。作为第一步,你应该提供一些关于你的系统的信息,更重要的是:你想做什么?就目前而言,您刚刚发布了一个日志文件。完全不清楚的问题。
-
你有没有在“SLF4J: See slf4j.org/codes.html#multiple_bindings for an explanation.”中的链接?