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 | 12 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

    Error injecting a class with generic type @Inject Guice

    Stack Overflow | 5 days ago | user3375226
    com.google.inject.CreationException: Unable to create injector, see the following errors: ! ! 1) Could not find a suitable constructor in java.lang.Class. 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

    No suitable constructor

    GitHub | 3 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.
  6. 0

    mongodb session store doesn't work

    GitHub | 1 month ago | jknack
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in com.mongodb.DB. 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