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 | 4 months ago
  1. 0

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

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

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

    Automated exception search integrated into your IDE

  5. 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?)]
  6. 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.

    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