Maven SLF4J: Class path contains multiple SLF4J bindings

前端 未结 5 2179
北恋
北恋 2020-12-08 07:42

I am getting following runtime Exception while running my java code. Could someone please help me resolve the binding conflicts.

    SLF4J: Class path contai         


        
5条回答
  •  星月不相逢
    2020-12-08 08:21

    This error means that you have multiple implementations of SLF4J in your classpath. Look for what the errors are specifically saying. i.e : SLf4J: Found binding in..... (This will print all the jar files where it found instances of StaticLoggerBinder.class). Eliminate all such jars from your classpath, except the jar whose StaticLoggerBinder.class implementation you need.

提交回复
热议问题