play.api.Configuration$$anon$1

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Migration guide from 1.0 -> 2.0
    via by Jeff Bowman,
    • play.api.Configuration$$anon$1: Configuration error[Cannot initialize the custom Global object (app.Global) (perhaps it's a wrong reference?)] at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:94)[play_2.11-2.3.10.jar:2.3.10] at play.api.Configuration.reportError(Configuration.scala:743)[play_2.11-2.3.10.jar:2.3.10] at play.api.WithDefaultGlobal$class.play$api$WithDefaultGlobal$$scalaGlobal(Application.scala:42)[play_2.11-2.3.10.jar:2.3.10] at play.api.DefaultApplication.play$api$WithDefaultGlobal$$scalaGlobal$lzycompute(Application.scala:402)[play_2.11-2.3.10.jar:2.3.10] at play.api.DefaultApplication.play$api$WithDefaultGlobal$$scalaGlobal(Application.scala:402)[play_2.11-2.3.10.jar:2.3.10] Caused by: java.lang.ExceptionInInitializerError: null at sun.misc.Unsafe.ensureClassInitialized(Native Method)[na:1.8.0_60] at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)[na:1.8.0_60] at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)[na:1.8.0_60] at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)[na:1.8.0_60] at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)[na:1.8.0_60] Caused by: 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(Configuration.scala:113) at utils.di.SilhouetteModule.provideAuthenticatorService(SilhouetteModule.scala:91)
    No Bugmate found.