SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".错误的解决方法

1、今天新git下来的项目报错如下:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2、解决办法

我的解决方法是,看报错的是哪个jar包,然后看下与你们自己公司开发的log包有没有冲突,直接把你们公司jar包版本删除掉,重新编译下就好了。

3、总结

遇到此问题一般情况下是jar包冲突的问题,或者jar包没有下载下来的问题。删除掉,重新下载。

原文地址:https://www.cnblogs.com/lixiaochao/p/8330133.html