环境:eclipse-standard-luna-R-win32
运行程序时出现红色的警告如下
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/download.html下载sl4j的压缩包,并尝试将其中的jar包slf4j-jdk14-1.7.7.jar加入到classpath下
仍然出现该错误
将该jar包导入到Eclipse的项目中,运行,没有错误,并且输出了运行时的消息。问题解决