0
votes

I'm trying to use the Spring-Data Neo4j Rest project as part of an unmanaged Neo4j Extension as I wish to inject a list of implementations into a

I've been following the example here: http://docs.spring.io/spring-data/data-neo4j/docs/3.0.1.RELEASE/reference/html/reference_neo4j-server.html#d0e4306

Which uses the class SpringPluginInitializer

However this class has a dependency on the class org.neo4j.helper.Pair which does not exist in the Neo4j Kernel Project I am using (there is a class org.neo4j.helpers.collection.Pair but not org.neo4j.helper.Pair).

I'm using Neo4j version 3.0.5 and Spring Data Neo4j 3.4.6.RELEASE which I believe are the latest versions of both.

Is there anyway to get around this issue? Or is there another approach I could take to use the Spring injection functionality that doesn't rely on the SpringPluginInitializer class

1

1 Answers

1
votes

3.x is not the current major version of Spring Data Neo4, 4.x is (currently, 4.1.5, with 4.2.0 under way).

In particular, SDN 3.x predates Neo4j 3.x, in which some classes (including Pair) were reorganized in different packages, i.e. they can be incompatible.