I am currently using Spring Data Neo4j 3.3.0 with Play 2.3.8 using the tuxburner plugin and working remotely with a neo4j 2.1.7 DB.
I saw that the new spring data version supports neo4j 2.2 and i wanted to upgrade to it. I changed my dependencies to the new versions and am getting the following error:
BeanCreationException: Error creating bean with name 'restNeo4jConfig': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is java.lang.NoClassDefFoundError: org/neo4j/kernel/TransactionBuilder
It seems to be an old issue that should be resolved in 3.3.1 since neo4j 2.2 changed a lot of their internal API and this class no longer exists.
Maybe the way I work with Spring Data is no longer right and needs to be changed.
I've created an example play app that shows the problem: https://github.com/OlympusTeam/Olympus
Had the same problem while migrating from 2.1, seems to have been fixed in 3.3.2.
http://docs.spring.io/spring-data/neo4j/docs/current/changelog.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With