Playframework从2.4迁移到2.5:java.lang.IllegalStateException:试图调用materialize()

时间:2016-06-01 09:49:31

标签: java playframework playframework-2.0 akka

从Play框架2.4迁移到播放框架2.5.3时,我面临着一个我不知道的特殊错误,

(这是一个多模块项目)

[ERROR] [06/01/2016 15:12:26.294] [application-akka.actor.default-dispatcher-2] [akka.actor.ActorSystemImpl(application)] Uncaught fatal error from thread [application-akka.actor.default-dispatcher-2] shutting down ActorSystem [application]
java.lang.NoClassDefFoundError: Lplay/libs/F$Predicate;

[DEBUG] [06/01/2016 15:12:26.412] [application-akka.actor.default-dispatcher-2] [EventStream] shutting down: StandardOutLogger started
[error] - play.core.server.netty.PlayRequestHandler - Exception caught in channelRead future
java.lang.IllegalStateException: Attempted to call materialize() after the ActorMaterializer has been shut down.

我试图添加“com.typesafe.akka”%%“akka-persistence-experimental”%“2.3.4”

等但直到现在都没有幸福的新闻。

1 个答案:

答案 0 :(得分:0)

问题很可能是你有一个针对Play 2.4编译的库(可能是第三方)。也可能是你没有运行干净。如果它是针对Play 2.4编译的库,请参阅https://www.playframework.com/documentation/2.5.x/SBTDebugging#Debugging-dependencies了解如何诊断 - 您正在寻找的内容取决于Play 2.4.x但其中2.4有被排除在外。