【问题标题】:Playframework migrating from 2.4 to 2.5 : java.lang.IllegalStateException: Attempted to call materialize()Playframework 从 2.4 迁移到 2.5:java.lang.IllegalStateException:尝试调用 materialize()
【发布时间】:2016-06-01 09:49:31
【问题描述】:

从 play framework 2.4 迁移到 play framework 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"

等等,但到目前为止还没有什么好消息。

【问题讨论】:

    标签: java playframework playframework-2.0 akka


    【解决方案1】:

    问题很可能是您有一个针对 Play 2.4 编译的库(可能是第三方)。也可能是你没有运行 sbt clean。如果它是针对 Play 2.4 编译的库,请参阅 https://www.playframework.com/documentation/2.5.x/SBTDebugging#Debugging-dependencies 了解如何诊断 - 您要查找的是依赖于 Play 2.4.x 但已排除 2.4 的内容。

    【讨论】:

      猜你喜欢
      • 2015-05-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多