Spring 6: HibernateTemplate Bean creation fails with java.lang.NoClassDefFoundError: org/hibernate/criterion/DetachedCriteria #30439
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: invalid
An issue that we don't feel is valid
When using Spring 6 with Hibernate 6, HibernateTemplate bean creation fails with the following error.
This is because HibernateTemplate still has references to org.hibernate.criterion package classes which are deleted in Hibernate 6.
Why do we still have references to these removed hibernate classes?
Can this be fixed?
The text was updated successfully, but these errors were encountered: