Uploaded image for project: 'Spring Data Neo4j'
  1. Spring Data Neo4j
  2. DATAGRAPH-1141

Make SDN 5.1.1 compatible with Spring 5.0.x again.

    Details

      Description

      Combining Spring Data Neo4j 5.1.1 (Lovelace SR1) with Spring Framework 5.0.x (for example by using Lovelace with Spring Boot 2.0.x), the application won't start and fail with a bean creation exception:

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jOgmEntityInstantiatorConfigurationBean': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.neo4j.repository.config.Neo4jOgmEntityInstantiatorConfigurationBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.core.ResolvableType.toClass()Ljava/lang/Class;
      Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.neo4j.repository.config.Neo4jOgmEntityInstantiatorConfigurationBean]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.springframework.core.ResolvableType.toClass()Ljava/lang/Class;
      Caused by: java.lang.NoSuchMethodError: org.springframework.core.ResolvableType.toClass()Ljava/lang/Class;
      

      This is a regression that happened while fixing DATAGRAPH-1131. The regression is only in Lovelace and can be fixed by using the same method used in Kay.

        Attachments

          Activity

            People

            • Assignee:
              gerrit.meier Gerrit Meier
              Reporter:
              michael.simons Michael Simons
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: