无法在包reactivemongo.bson.package中访问类型BSONElement

时间:2016-10-07 16:25:43

标签: scala reactivemongo play-reactivemongo

您好我正在尝试编译使用play framework驱动程序的reactivemongo应用程序。

./activator compile在我的开发机器上工作得很好但在远程ubuntu盒子上给出了以下错误。两台机器中的build.sbt完全相同。

summer@nights:/var/jenkins/workspace/myApp$ ./activator compile
    [info] Loading project definition from /home/summer/.sbt/0.13/staging/38ee4fc38fad7d5824e0/myApp/project
    [info] Set current project to myApp (in build file:/var/jenkins/workspace/myApp/)
    [info] Compiling 8 Scala sources and 1 Java source to /home/summer/.sbt/0.13/staging/38ee4fc38fad7d5824e0/myApp/target/scala-2.11/classes...
    [error] missing or invalid dependency detected while loading class file 'LowerImplicitBSONHandlers.class'.
    [error] Could not access type BSONElement in package reactivemongo.bson.package,
    [error] because it (or its dependencies) are missing. Check your build definition for
    [error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
    [error] A full rebuild may help if 'LowerImplicitBSONHandlers.class' was compiled against an incompatible version of reactivemongo.bson.package.
    [error] one error found
    [error] (compile:compileIncremental) Compilation failed
    [error] Total time: 16 s, completed Oct 7, 2016 10:19:29 AM

0 个答案:

没有答案