Open spring-projects-issues opened 8 years ago
Mark Paluch commented
That issue is caused by DATAGRAPH-918, more specific by spring-data-neo4j
Version 4.1.3 and newer. Please use spring-data-neo4j
Version 4.1.1 or 4.1.2 as workaround
Mark Angrish commented
I've just created a test with Spring Boot 1.5, Spring Data (Ingalls) and there seems to be no problems any more.
This was probably fixed by the Neo4j repositories now supporting Serializable ID's.
See: https://jira.spring.io/browse/DATAGRAPH-955 and https://github.com/spring-projects/spring-boot/issues/6709.
Please try again with the new versions and let me know how you get on
Florian opened DATAREST-928 and commented
I'am building a simple Spring Boot app with Spring Data Rest and Neo4j. I followed the instruction guide here: https://spring.io/guides/gs/accessing-neo4j-data-rest/
Here is my pom.xml file:
Here is my entity TreeComponent:
The repository class TreeComponentRepository:
Finally, the annotations used on the Spring boot app class:
Everything works fine, I even got my data in the Neo4j database (+with IDs+). Unfortunately, I've got the following error when accessing my data through the rest API (http://localhost:8861/api/treeComponents):
Is it a bug or am i missing something ?
Thanks for the help.
Affects: 2.5.4 (Hopper SR4)
Issue Links: