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

Stack Overflow | CodeTest | 5 months ago
  1. 0

    Play framework 2.5 app in production in docker container is throwing errors on startup

    Stack Overflow | 5 months ago | CodeTest
    com.google.inject.CreationException: Unable to create injector, see the following errors: 1) Could not find a suitable constructor in controllers.AppController. Classes must have either one (and only one) constructor annotated with @Inject or a zero- argument constructor that is not private.
  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

    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?)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error injecting a class with generic type @Inject Guice

    Stack Overflow | 4 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.
  6. 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.

    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 controllers.AppController. Classes must have either one (and only one) constructor annotated with @Inject or a zero- argument constructor that is not private.

      at controllers.AppController.class()
    2. controllers
      AppController.class
      1. controllers.AppController.class(AppController.scala:18)
      1 frame