Eclipse中未解决的依赖项错误

时间:2016-12-03 14:21:02

标签: eclipse mongodb spring-data-mongodb

对于一个简单的Repository接口,我在eclipse中不断收到以下错误。

The type org.springframework.data.repository.query.QueryByExampleExecutor
cannot be resolved.
It is indirectly referenced from required .class files

它是MongoDB的Play Framework 2.5.1项目。这是build.sbt中的依赖项。

libraryDependencies ++= Seq( javaCore, javaJpa, "javax.inject" % "javax.inject" % "1", "org.springframework" % "spring-core" % "4.3.3.RELEASE", "org.springframework" % "spring-context" % "4.3.3.RELEASE", "org.springframework" % "spring-beans" % "4.3.4.RELEASE" "org.springframework" % "spring-jdbc" % "4.3.4.RELEASE", "org.springframework.data" % "spring-data-jpa" % "1.10.1.RELEASE", "org.springframework.data" % "spring-data-commons-core" % "1.4.1.RELEASE", "org.springframework" % "spring-expression" % "4.3.3.RELEASE", "org.mongodb" % "mongo-java-driver" % "3.2.2", "org.springframework.data" % "spring-data-mongodb" % "1.9.2.RELEASE", "org.mockito" % "mockito-core" % "1.9.5" % "test" )

This is my UserRepository interface UserRepository interface error

有人可以帮我解决这个问题

0 个答案:

没有答案
相关问题