i'm new at hibernate , when i tried to run my first simple application an exception is thrown
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
i tried to fix it by downloading one of the slf4j packages and the problem still alive.
Hibernate switched from Apache Commons Logging to SLF4J in some version. You have to put SLF4J API + one of the implementions to your Classpath.
E.g. if you want to use Log4J you have to put those jars to your classpath: