When I include hibernate-c3p0Maven in my file pom.xml, I get runtime NoClassDefFoundErrorbecause it cannot find org.slf4j.impl.StaticLoggerBinder. It seemed to me that Maven would resolve this dependency - therefore, if c3p0 requires slf4j, then slf4j will load and turn on.
In my file pom.xmlthere is:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>3.3.1.GA</version>
</dependency>
source
share