While using crawler4j to crawl some data, I met errors as following:
1 2 3 4 |
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. |
Based on the official document I found solution:
https://www.slf4j.org/codes.html#StaticLoggerBinder
Then I downloadedlogback and import logback-classic.jar
.
Perfect!