Slf4j: failed to load Class "org. slf4j. impl. staticloggerbinder.

Source: Internet
Author: User

Add the hibernate3 package to the project, and a red prompt appears after running the project.

Slf4j: failed to load class "org. slf4j. impl. staticloggerbinder ".
Slf4j: defaulting to no-operation (NOP) Logger implementation
Slf4j: see for further details.


I found a blog on the Internet with the following content:

The cause of the problem is that you cannot find org. slf4j. impl. staticloggerbinder. I did not find this class. I searched the website for an official answer:

This error is reported whenorg.slf4j.impl.StaticLoggerBinderClass cocould not be loaded into memory. This happens when no appropriate slf4j binding cocould be found on the class path. Placing one (and only one)
Slf4j-jdk14.jarOrLogback-classic.jarOn the class path shocould solve the problem.

You can download slf4j bindings from the project
Download Page.

The general idea is:org.slf4j.impl.StaticLoggerBinderIt cannot be loaded into the memory because slf4j cannot be properly bound. You need to add one of the listed packages.

The solution is as follows:

Download the slf4j-nop.jar and add it to the path to fix the problem


Placing one (and only one)Slf4j-nop.jar,
Logback-classic.jarOn the class path shocould solve the problem.

The specific translation of this sentence is not clear.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.