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):
cause: null,message: "Id must be assignable to Serializable! Object of class [null] must be an instance of interface java.io.Serializable"
Is it a bug or am i missing something ?
Thanks for the help.
Affects: 2.5.4 (Hopper SR4)
Issue Links:
DATAGRAPH-918 Neo4jPersistentProperty does not resolve Id property
("depends on")
The text was updated successfully, but these errors were encountered:
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
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:
("depends on")
The text was updated successfully, but these errors were encountered: