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
  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 | 10 months 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.
  3. 0

    No suitable constructor

    GitHub | 2 months ago | gallart
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in org.graylog2.plugin.configuration.Configuration. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I bind the Interface with Implementation for Generic Classes?

    Stack Overflow | 1 year ago | ruslancho
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in com.ulmon.fsqtransit.guicetest.Class1. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  6. 0

    Inject class with no empty constructors from other module failed.

    GitHub | 9 months ago | baijianhua
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in com.lenovo.shareit.Test1. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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