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 http://www.slf4j.org/codes.html#StaticLoggerBinder 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: http://www.slf4j.org/codes.html#staticloggerbinder:
This error is reported whenorg.slf4j.impl.StaticLoggerBinder
Class 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)
OfSlf4j-nop.jar,Slf4j-simple.jar,Slf4j-log4j12.jar,
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.StaticLoggerBinder
It 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,
Slf4j-simple.jar,Slf4j-log4j12.jar,Slf4j-jdk14.jarOr
Logback-classic.jarOn the class path shocould solve the problem.
The specific translation of this sentence is not clear.