1
我想在Scala中使用spring-data-neo4j和play framework 2.6。但是,当我添加库依赖我有一个编译错误:spring-data-neo4j的解析器
对象的Neo4j不包组织
为
import org.neo4j.ogm.annotation.{GraphId, NodeEntity}
我想我没有很好的解析器的成员:
name := """Project-name"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
resolvers += Resolver.sonatypeRepo("snapshots")
scalaVersion := "2.12.2"
libraryDependencies ++= Seq(
guice,
"org.scalatestplus.play" %% "scalatestplus-play" % "3.0.0" % Test,
"com.h2database" % "h2" % "1.4.194",
"org.springframework.data" % "spring-data-neo4j" % "4.2.6.RELEASE"
)
我有同样的问题 – mickaelw
是否在sbt文件中添加了上述条目并重新启动了sbt控制台? –
这听起来不错! thx – mickaelw