当前位置:   article > 正文

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in

slf4j: class path contains multiple slf4j bindings. slf4j: found binding in

让代码飞

目标: 一阶段:能替代任何人 二阶段:任何人不能替代你

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in

异常:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/Administrator/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.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.impl.Log4jLoggerFactory]

解决方法:

jar包冲突,删除其中一个jar包

遇到Class path contains multiple SLF4J bindings.该如何解决?

slf4j-api、slf4j-log4j12以及log4j之间什么关系?

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/634694
推荐阅读
相关标签
  

闽ICP备14008679号