gpt4 book ai didi

java - Playframework 从 2.4 迁移到 2.5 : java. lang.IllegalStateException:尝试调用 Materialize()

转载 作者:太空宇宙 更新时间:2023-11-04 12:33:42 24 4
gpt4 key购买 nike

从 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"

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

最佳答案

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

关于java - Playframework 从 2.4 迁移到 2.5 : java. lang.IllegalStateException:尝试调用 Materialize(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37565190/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com