java.lang.ClassNotFoundException: org.apache.log4j.Level

前端 未结 3 828
忘掉有多难
忘掉有多难 2020-12-25 13:24

I\'m trying to use hibernate 3.5.1 final in a swing application and here are the jars I\'m using:

  • hibernate-core-3.5.1-Final
3条回答
  •  余生分开走
    2020-12-25 13:57

    You also need to include the Log4J JAR file in the classpath.

    Note that slf4j-log4j12-1.6.4.jar is only an adapter to make it possible to use Log4J via the SLF4J API. It does not contain the actual implementation of Log4J.

提交回复
热议问题