I am using DSE graph 6.8 with driver 4.11.0
I am getting the Exception in thread "main" java.lang.IllegalArgumentException: No request processor found for com.datastax.dse.driver.internal.core.graph.BytecodeGraphStatement
String dcName = "Graph"; String graphName = "food_qs"; try (CqlSession session = CqlSession.builder() .addContactPoint(new InetSocketAddress(host, 8086)) .withLocalDatacenter("Graph") .build()) { String script = "g.V().has('person','person_id', 'person1').elementMap()"; ScriptGraphStatement statement = ScriptGraphStatement.builder(script).build(); GraphTraversalSource g = AnonymousTraversalSource.traversal().withRemote(DseGraph.remoteConnectionBuilder(session) .withExecutionProfile(session.getContext().getConfig().getDefaultProfile() .withString(DseDriverOption.GRAPH_NAME, graphName)).build()); System.out.println(g.V().count().next()); }
Please let me know , if am missing something.