Uploaded image for project: 'ENTSBT'
  1. ENTSBT
  2. ENTSBT-1185

SpringBoot 2.5 requires Hibernate 5.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • None
    • 2.5.8.DR4
    • hibernate
    • None
    • False
    • False

    Description

      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

      Attachments

        Activity

          People

            antcosta Antonio Costa
            lfuka Libor Fuka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: