NoSuchElementException:找不到密钥:domain.root

时间:2019-06-07 03:33:55

标签: java scala playframework

我正在尝试在系统上运行网格https://github.com/guardian/grid

我已经安装了所有依赖项(sbt Java 8 节点 Nginx的 码头工人 GD GraphicsMagick与little-cms2 图像魔术 pngquant 奥克斯利 q exiftool md5Sum) 当我运行该软件时,在浏览器中出现以下错误:

Unexpected exception
NoSuchElementException: key not found: domain.root

No source available, here is the exception stack trace:
->java.util.NoSuchElementException: key not found: domain.root
     scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:101)
     scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:99)
     com.gu.mediaservice.lib.config.CommonConfig.domainRoot(CommonConfig.scala:54)
     com.gu.mediaservice.lib.config.CommonConfig.domainRoot$(CommonConfig.scala:54)
     lib.ThrallConfig.domainRoot$lzycompute(ThrallConfig.scala:8)
     lib.ThrallConfig.domainRoot(ThrallConfig.scala:8)
     com.gu.mediaservice.lib.config.CommonConfig.services(CommonConfig.scala:66)
     com.gu.mediaservice.lib.config.CommonConfig.services$(CommonConfig.scala:66)
     lib.ThrallConfig.services$lzycompute(ThrallConfig.scala:8)
     lib.ThrallConfig.services(ThrallConfig.scala:8)
     com.gu.mediaservice.lib.auth.Authentication.buildPandaSettings(Authentication.scala:86)
     com.gu.mediaservice.lib.auth.Authentication.panDomainSettings$lzycompute(Authentication.scala:43)
     com.gu.mediaservice.lib.auth.Authentication.panDomainSettings(Authentication.scala:43)
     com.gu.pandomainauth.action.AuthActions.settings(Actions.scala:26)
     com.gu.pandomainauth.action.AuthActions.$init$(Actions.scala:71)
     com.gu.mediaservice.lib.auth.Authentication.<init>(Authentication.scala:26)
     com.gu.mediaservice.lib.play.GridComponents.<init>(GridComponents.scala:35)
     ThrallComponents.<init>(ThrallComponents.scala:8)
     AppLoader$$anonfun$$lessinit$greater$1.apply(AppLoader.scala:3)
     AppLoader$$anonfun$$lessinit$greater$1.apply(AppLoader.scala:3)
     com.gu.mediaservice.lib.play.GridAppLoader.load(GridAppLoader.scala:11)
     play.core.server.DevServerStart$$anon$1.$anonfun$reload$3(DevServerStart.scala:174)
     play.utils.Threads$.withContextClassLoader(Threads.scala:21)
     play.core.server.DevServerStart$$anon$1.reload(DevServerStart.scala:171)
     play.core.server.DevServerStart$$anon$1.get(DevServerStart.scala:124)
     play.core.server.AkkaHttpServer.handleRequest(AkkaHttpServer.scala:241)
     play.core.server.AkkaHttpServer.$anonfun$createServerBinding$1(AkkaHttpServer.scala:138)
     akka.stream.impl.fusing.MapAsyncUnordered$$anon$26.onPush(Ops.scala:1304)
     akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:519)
     akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:482)
     akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:378)
     akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:588)
     akka.stream.impl.fusing.GraphInterpreterShell$AsyncInput.execute(ActorGraphInterpreter.scala:472)
     akka.stream.impl.fusing.GraphInterpreterShell.processEvent(ActorGraphInterpreter.scala:563)
     akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:745)
     akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:760)
     akka.actor.Actor.aroundReceive(Actor.scala:517)
     akka.actor.Actor.aroundReceive$(Actor.scala:515)
     akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:670)
     akka.actor.ActorCell.receiveMessage(ActorCell.scala:588)
     akka.actor.ActorCell.invoke(ActorCell.scala:557)
     akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
     akka.dispatch.Mailbox.run(Mailbox.scala:225)
     akka.dispatch.Mailbox.exec(Mailbox.scala:235)
     akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
     akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
     akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
     akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

0 个答案:

没有答案