Serialization Issue
I have a weird error, when I am connecting with JanusGraph gremlin client using
Code setting up the serialization:
conf/remote-graph-binary.yaml I am able to get results. But when I am trying to use my java application I am getting, java.io.IOException: Serializer for custom type 'janusgraph.RelationIdentifier' not found. Googling around I got that this is due to serialization issue. It looks to me that the gremlin-client and my java application has similar configs but gremlin-client is not having any serialization problem. Code setting up the serialization:
Solution
I have faced a similar issue in the past (but mostly related to gremlin-python) and @Boxuan Li suggested a solution in the JanusGraph discord server. It was something like along these lines:
and
Also, here is how he suggested to setup the serializers in the JanusGraph config file:
https://github.com/Citegraph/citegraph/blob/main/backend/src/main/resources/gremlin-server-cql.yaml
I hope this leads you closer to a solution.
and
Also, here is how he suggested to setup the serializers in the JanusGraph config file:
https://github.com/Citegraph/citegraph/blob/main/backend/src/main/resources/gremlin-server-cql.yaml
I hope this leads you closer to a solution.
GitHub
CiteGraph: A citation graph web visualizer. Contribute to Citegraph/citegraph development by creating an account on GitHub.