Skip to content
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

how to set up tinkerpop for scala #282

Open
davidzxc574 opened this issue Jun 10, 2019 · 1 comment
Open

how to set up tinkerpop for scala #282

davidzxc574 opened this issue Jun 10, 2019 · 1 comment

Comments

@davidzxc574
Copy link

Hi,

I have neo4j-community-3.5.5, scala 2.11.8 and Idea 2018.3.4 community version and would like to set up gremlin for me to access Neo4j database in Scala

I have this library dependency in build.sbt

libraryDependencies += "com.michaelpollmeier" %% "gremlin-scala" % "3.4.1.4"

and in my scala console I have

import gremlin.scala._
import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory

But scala does not recognize tinkergraph. What I am missing and is there a link describing how to set it up?

Thanks

@mpollmeier
Copy link
Owner

Tinkergraph is the reference in-memory graph database, it sounds like you want to use neo4j and not tinkergraph? Have a look at the https://github.com/mpollmeier/gremlin-scala-examples repo (which is linked from the readme) for working setups with both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants