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#StaticLoggerBinder,页面中给出了错误出现的答案:
Failedto load class org.slf4j.impl.StaticLoggerBinder
This error is reported when the org.slf4j.impl.StaticLoggerBinder
class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path. Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem.
SINCE 1.6.0 As of SLF4J version 1.6, in the absence of a binding, SLF4J will default to a no-operation (NOP) logger implementation.
You can download SLF4J bindings from the project download page.
下载匹配的slf4j源码,然后将slf4j-nop.jar,slf4f-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar中某一个而且只能是某一个放到调用类的路径就可以了。