从游戏框架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”
等,但到目前为止还没有喜讯。
最佳答案
问题很可能是您有一个针对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/