现象:运行eclipse maven build,console 有红色日志如下:
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.
即便添加对应的dependency仍然有此日志,有红色日志虽然不影响程序运行但还是感觉不舒服,随一探究竟。
原因探究过程如下:
首先在Goals运行目标后添加 -X如下图: