-
Bug
-
Resolution: Done
-
Blocker
-
None
-
2.5.8.DR4
-
None
-
False
-
False
-
JPA tests are failing with 2.5.8.DR4 build because we use Hibernate 5.3 but SpringBoot 2.5 JPA requires Hibernate 5.4.
09:21:55 Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entriesService' defined in file [/home/cloud-user/jenkins/workspace/spring-boot-2-component/JAVA_VER/OPEN_JDK_11/rhel slave/rhel8/spring-boot-narayana/target/test-classes/me/snowdrop/boot/narayana/app/EntriesService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entriesRepository' defined in me.snowdrop.boot.narayana.app.EntriesRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/metamodel/model/domain/spi/IdentifiableTypeDescriptor
https://github.com/spring-projects/spring-data-jpa/issues/2391