play.api.Configuration$$anon$1: Configuration error[Cannot initialize the custom Global object (app.Global) (perhaps it's a wrong reference?)]

Google Groups | Jeff Bowman | 1 year 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

    Migration guide from 1.0 -> 2.0

    Google Groups | 1 year ago | Jeff Bowman
    play.api.Configuration$$anon$1: Configuration error[Cannot initialize the custom Global object (app.Global) (perhaps it's a wrong reference?)]
  2. 0

    [Play 2.4.4] Enabling module in FakeApplication via additionalConfiguration causes guice errors.

    Google Groups | 1 year ago | Scott Hathaway
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in play.api.Configuration. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

    Root Cause Analysis

    1. com.google.inject.CreationException

      Unable to create injector, see the following errors: 1) Could not find a suitable constructor in play.api.Configuration. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

      at play.api.Configuration.class()
    2. Play
      Configuration.class
      1. play.api.Configuration.class(Configuration.scala:113)
      1 frame
    3. utils.di
      SilhouetteModule.provideAuthenticatorService
      1. utils.di.SilhouetteModule.provideAuthenticatorService(SilhouetteModule.scala:91)
      1 frame