General J2EE: hibernate

  1. hibernate (3 messages)

    Hi friends, I am practising hibernate with manning. In chapter2 it is giving some problem. I'm not able to get it. SLF4J: Failed to load class "org.slf4j.impl.staticLoggerBinder". I included the log4j.jar in the hibernate lib folder. Any Help is appreciated. Thanks sathish.g.

    Threaded Messages (3)

  2. Re: hibernate[ Go to top ]

    Sathish, Make sure slf4j-api-XXX.jar and slf4j-jcl-XXX.jar are in your Java classpath. Cheers Diwakar
  3. Re: hibernate[ Go to top ]

    Hi, Thanks for the reply. I checked the "lib" folder that came with the hibernate distribution. I found only one library i.e. with name slf4j-api-1.5.2.jar. I am not able to found slf4j-jcl-XXX.jar, where it is available. Thanks & Regards, sathish.g.
  4. slf4j[ Go to top ]

    You can download slf4j from: http://www.slf4j.org/dist/slf4j-1.5.2.zip Unzip it and depending on your logging preference put one of log wrapper implementations into your lib folder (i.e. for log4j take slf4j-log4j12-1.5.2.jar or slf4j-jdk14-1.5.2.jar for jdk logging).