Skip to content

SLF4J throws error due to missing .jar on classpath #304

@Linus12

Description

@Linus12

Subject of the issue

slf4j gives the following warnings:
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.

Your environment

  • version of Flickr4Java 3.0.1
  • version of JDK 1.8
  • version of slf4j 1.7.9

Steps to reproduce

Replaced Flickr4Java 2.17 with Flickr 3.0.1; replaced scribe 1.3.5 with scribejava-core 6.3.0 and added slf4j 1.7.9; replaced

Expected behavior

OK, obviously I just need to add one of the appropriate slf4j.jar files to the class path... But would like to see documentation as to the best one to use for solving issues; at least at first, even if the recommendation is to use the -nop jar.
Current options given on slf4j website are: slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions