readthefuckingmanual.net

[SOLVED] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

Error added: 2008-09-18T10:34:36Z

1 people waiting for the answer...

8 answers found.

Answer 708 (78.125% helpful)

Add ....../test/slf4j-log4j12.jar too
Permalink

Answer 1086 (63.636364% helpful)

both the answers does not works for me ... i added  \"slf4j-log4j12.jar\" and \"log4j.jar\" to my project... still i get the same error
Permalink

Answer 1431 (62.5% helpful)

I was able to solve this problem by adding the slf4j-api-1.6.1-sources.jar in classpath. Note i was using the older version of this jar slf4j-api-1.5.8.jar which came with hibernate package.
Permalink

Answer 1496 (57.142857% helpful)

Mixing mixing different versions of slf4j artifacts can cause problems. For example, if you are using slf4j-api-1.6.1.jar, then you should also use slf4j-simple-1.6.1.jar, using slf4j-simple-1.5.5.jar will not work.
Permalink

Answer 823 (50.0% helpful)

Also add log4j.jar in that directory above.
Permalink

Answer 1164 (50.0% helpful)

DONT\' USE slf4j
Permalink

Answer 1630 (50.0% helpful)

Add both the slf4-api and slf4-{simple,nop,etc} jars to the path.
Permalink

Answer 1776 (25.0% helpful)

yes this worked
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: