Open
Description
After updating to jackson-datatype-hibernate 2.9.7 (Hibernate 5.1.7 on the classpath) I found that PersistentCollectionSerializer cannot be instantiated when trying to register the module due to a cnfe..
import com.fasterxml.jackson.datatype.hibernate5.PersistentCollectionSerializer;
public class Main {
public static void main(String[] args) {
new PersistentCollectionSerializer(null, null, 0, null);
}
}
Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/engine/spi/SharedSessionContractImplementor
at Main.main(Main.java:8)
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.spi.SharedSessionContractImplementor
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
Metadata
Metadata
Assignees
Labels
No labels