无法访问值akka.event中的LoggingAdapter类型

时间:2017-03-24 01:47:11

标签: scala sbt akka spray

我从Scala 2.10.8迁移到2.11.7,从Akka 2.1.2迁移到2.3.14。我在* .sbt和source中做了很多改动。现在,我遇到了一些问题。我在线检查,但我没有得到实际的原因。我认为喷雾版本不适合Akka版本。但是我必须使用哪个版本的Spray用于Akka 2.3.14,我还没有获得任何在线信息和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

1 个答案:

答案 0 :(得分:0)

如果你需要使用喷雾剂,你可以使用的最新版本的Akka是2.2.x,你可以看到in their documentation

如果您必须使用更新版本的Akka,则必须使用Akka HTTP并关注他们的migration guide