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.
解决方法:点进去http://www.slf4j.org/codes.html,然后把这一块复制到pom.xml里面,然后封信maven即可,如下
SLF4J NOP Logger 解决方案
本文介绍了解决 SLF4J 默认采用 no-operation (NOP) logger 的方法。当应用程序无法找到合适的日志实现时,会出现此问题。通过在项目的 pom.xml 文件中加入正确的依赖配置,可以轻松地解决这一问题。
1150

被折叠的 条评论
为什么被折叠?



