getting ClassNotFoundException when trying to run gremlin query g.V().valueMap for custom class

I am storing the Map <String,Address> into graph as property like:
Map<String, Address> location = new HashMap<>();
location.put("Address",new Address("pune","412216"));
g.addV("person").property("name",name).property("locality",location).next();

I am able to fetch this value correctly through java code......but when tried through gremlin console...I am getting classNotFound error. see attached screenshot.

anyone know how we can solve this issue.
image.png
image.png
Was this page helpful?