0

您好我正在尝试编译一个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
4

0 回答 0