When I include hibernate-c3p0
in my Maven's pom.xml
file, I get a runtime NoClassDefFoundError
as it can't find org.slf4j.impl.StaticLoggerBinder
. It was my impression that Maven would resolve this dependency – so if c3p0 requires slf4j, then slf4j would be downloaded and included.
My pom.xml
file has:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>3.3.1.GA</version>
</dependency>