You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HibernateTypesContributor tries to register the PostgreSQLGuavaRangeType, but if the com.google.common.collect.Range is not found, a NoClassDefFoundError is thrown:
java.lang.NoClassDefFoundError: com/google/common/collect/Range
at com.vladmihalcea.hibernate.type.range.guava.PostgreSQLGuavaRangeType.<clinit>(PostgreSQLGuavaRangeType.java:58)
at com.vladmihalcea.hibernate.type.HibernateTypesContributor.contribute(HibernateTypesContributor.java:66)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:376)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:142)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.metadata(EntityManagerFactoryBuilderImpl.java:1350)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:1421)
The text was updated successfully, but these errors were encountered:
The
HibernateTypesContributor
tries to register thePostgreSQLGuavaRangeType
, but if thecom.google.common.collect.Range
is not found, aNoClassDefFoundError
is thrown:The text was updated successfully, but these errors were encountered: