【发布时间】:2017-08-16 19:58:50
【问题描述】:
我从 Scala 2.10.8 迁移到 2.11.7,从 Akka 2.1.2 迁移到 2.3.14。我也对 *.sbt 和源代码做了很多更改。现在,我遇到了一些问题。我在网上查了,但我没有得到真正的原因。我认为喷雾版本不适合 Akka 版本。但是我必须为 Akka 2.3.14 使用哪个版本的 Spray,我还没有得到任何在线信息和 Akka 文档。
问题是:
[error] missing or invalid dependency detected while loading class file 'LoggingContext.class'.
[error] Could not access type LoggingAdapter in value akka.event,
[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 'LoggingContext.class' was compiled against an incompatible version of akka.event.
我的项目依赖是这样的:
https://www.dropbox.com/s/tp1ruackt9tued6/dependencyTree2.txt?dl=0
【问题讨论】: