问题 :
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/maven/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/maven/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.13.3/log4j-slf4j-impl-2.13.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 [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
1.在实现Logback+slf4j输出日志的时候,有此异常警告,其实不影响运行
2.解决方法,idea中安装 maven helper,在File->Setting->Plugins->maven helper安装,完成后重新打开pom文件,左下角出现Dependency Analyzer
3,找到对应父类依赖,在pom文件中,排除冲突依赖,刷新maven,就不会有此错误了。