java.lang.RuntimeException: There is no started application >> at scala.sys.package$.error(package.scala:27) >> ~[scala-library-2.11.7.jar:na] >> at play.api.Play$$anonfun$current$1.apply(Play.scala:71)

Google Groups | Eddie | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [Play 2.4] Initialise code after Application has started

    Google Groups | 2 years ago | Eddie
    java.lang.RuntimeException: There is no started application >> at scala.sys.package$.error(package.scala:27) >> ~[scala-library-2.11.7.jar:na] >> at play.api.Play$$anonfun$current$1.apply(Play.scala:71)

    Root Cause Analysis

    1. java.lang.RuntimeException

      There is no started application >> at scala.sys.package$.error(package.scala:27) >> ~[scala-library-2.11.7.jar:na] >> at play.api.Play$$anonfun$current$1.apply(Play.scala:71)

      at play.api.Play$$anonfun$current$1.apply()
    2. Play
      Play$$anonfun$current$1.apply
      1. play.api.Play$$anonfun$current$1.apply(Play.scala:71)
      1 frame
    3. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)[scala-library-2.11.7.jar:na]
      1 frame