Gremlin on Neo4j 2.2.7

2019-09-04 07:34发布

问题:

I need to incorporate the possibility of sending Gremlin scripts to my Neo4j 2.2.7 DB so I tried to install the thinkaurelius neo4j plugin by using one of the prebuilt releases.

Unfortunately I guess those releases were built for older Neo4j versions (2.1.6) and, as a result, I got this error when I tried to start Neo4j from my Windows machine with Java 8:

Starting Neo4j Server failed: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-e1dd969@ae4c07fc==org.neo4j.server.web.‌​NeoServletContainer,-1,false

To experiment a bit with the Gremlin language I tried to connect to my DB from the gremlin console (the DB wasn't used by any other process) but, when I run graph = Neo4jGraph.open('<path to my db>') the console stopped responding (there was no new prompt appearing).

Does anybody know what I could do to run some Gremlin script on my database?

标签: neo4j gremlin