-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing TinkerGraph's jar in Gremlin 3 plug in #14
Comments
The |
Hi Daniel, Thanks for your help :) Now, I get this in the neo4j logs : Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph Obviously, I didn't find the right tinkergraph Jar or put it in the right folder. Any hint? |
Hello dseguy. Supposing that you modified the config files as described in the wiki. Best Marco. |
You'll need at least 3.1.1. Version 3.0.1 didn't support Neo4j 2.3.2. You should build TinkerPop to get that jar file: https://github.com/apache/incubator-tinkerpop/tree/3.1.1-incubating |
Tinkerpop != titandb, of course. Lemme try this. |
Hi
I compiled the plug-in on OSX, for Gremlin 3. I installed it on Neo4j 2.3.2.
I tried the following query, in order to test the Subgraph step.
subGraph = g.E().has("atom", "String").subgraph('String').cap('String').next();
I get this error :
Gremlin error : javax.script.ScriptException: java.lang.RuntimeException: GraphFactory could not find [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph] - Ensure that the jar is in the classpath
I don't think I should get such an error for such a simple query.
Follow up :
If I remove '.cap('String').next()' and replace it with 'iterate()' it does something. Later, I can't access the subgraph :
sg = subGraph.traversal(standard());
sg.V().count();
I get this error :
Gremlin error : javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal.traversal() is applicable for argument types: (org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource$Builder) values: [org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource$Builder@798d41e7]
Is this a problem in my queries or in the gremlin plugin ?
Damien.
The text was updated successfully, but these errors were encountered: