Hibernate: hibernate-distribution-3.3.2.GA
Problems:
Slf4j: failed to load class "org. slf4j. impl. staticloggerbinder ".
Slf4j: see http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
The problem actually lies in slf4j. Obtain the following content based on the URL provided by the error message,
Failed to load class
org.slf4j.impl.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)Slf4j-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.
As you can see, you only need to add the missing package. You can obtain the required package through the download link described above. I am usingSlf4j-simpleBut pay attention to version issues. In 3.3.2.ga Hibernate is used in the slf4j-api-1.5.8.jar, so I chose slf4j-simple-1.5.8.jar. Adding this package to the library required by hibernate can solve the problem.