play.api.Application$$anon$1: Execution exception[[ConfigurationException: Guice configuration errors: 1) Could not find a suitable constructor in securesocial.core.java.SecureSocial$Secured. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Google Groups | Jorge Aliss | 3 years ago
  1. 0

    Upcoming version 3

    Google Groups | 3 years ago | Jorge Aliss
    play.api.Application$$anon$1: Execution exception[[ConfigurationException: Guice configuration errors: 1) Could not find a suitable constructor in securesocial.core.java.SecureSocial$Secured. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
  2. 0

    Upcoming version 3

    Google Groups | 3 years ago | Jorge Aliss
    play.api.Application$$anon$1: Execution >>> exception[[ConfigurationException: Guice configuration errors: >>> >>> 1) Could not find a suitable constructor in >>> securesocial.core.java.SecureSocial$Secured. Classes must have either one >>> (and only one) constructor annotated with @Inject or a zero-argument >>> constructor that is not private. >>> at >>> securesocial.core.java.SecureSocial$Secured.class(SecureSocial.java:154) >>> while locating securesocial.core.java.SecureSocial$Secured >>> >>> 1 error]] >>> at play.api.Application$class.handleError(Application.scala:293) >>> ~[play_2.10-2.2.3.jar:2.2.3] >>> at play.api.DefaultApplication.handleError(Application.scala:399) >>> [play_2.10-2.2.3.jar:2.2.3] >>> at >>> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) >>> [play_2.10-2.2.3.jar:2.2.3] >>> at >>> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) >>> [play_2.10-2.2.3.jar:2.2.3] >>> at scala.Option.map(Option.scala:145) [scala-library-2.10.3.jar:na] >>> at >>> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) >>> [play_2.10-2.2.3.jar:2.2.3] >>> at >>> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:260) >>> [play_2.10-2.2.3.jar:2.2.3] >>> at >>> scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344) at >>> scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343)
  3. 0

    Upcoming version 3

    Google Groups | 3 years ago | Jorge Aliss
    play.api.Application$$anon$1: Execution >> exception[[ConfigurationException: Guice configuration errors: >> >> 1) Could not find a suitable constructor in >> securesocial.core.java.SecureSocial$Secured. Classes must have either one >> (and only one) constructor annotated with @Inject or a zero-argument >> constructor that is not private. >> at >> securesocial.core.java.SecureSocial$Secured.class(SecureSocial.java:154) >> while locating securesocial.core.java.SecureSocial$Secured >> >> 1 error]] >> at play.api.Application$class.handleError(Application.scala:293) >> ~[play_2.10-2.2.3.jar:2.2.3] >> at play.api.DefaultApplication.handleError(Application.scala:399) >> [play_2.10-2.2.3.jar:2.2.3] >> at >> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) >> [play_2.10-2.2.3.jar:2.2.3] >> at >> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) >> [play_2.10-2.2.3.jar:2.2.3] >> at scala.Option.map(Option.scala:145) [scala-library-2.10.3.jar:na] >> at >> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) >> [play_2.10-2.2.3.jar:2.2.3] >> at >> play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:260) >> [play_2.10-2.2.3.jar:2.2.3] >> at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Upcoming version 3

    Google Groups | 3 years ago | Jorge Aliss
    play.api.Application$$anon$1: Execution exception[[ConfigurationException: > Guice configuration errors: > > 1) Could not find a suitable constructor in > securesocial.core.java.SecureSocial$Secured. Classes must have either one > (and only one) constructor annotated with @Inject or a zero-argument > constructor that is not private. > at > securesocial.core.java.SecureSocial$Secured.class(SecureSocial.java:154) > while locating securesocial.core.java.SecureSocial$Secured > > 1 error]] > at play.api.Application$class.handleError(Application.scala:293) > ~[play_2.10-2.2.3.jar:2.2.3] > at play.api.DefaultApplication.handleError(Application.scala:399) > [play_2.10-2.2.3.jar:2.2.3] > at > play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) > [play_2.10-2.2.3.jar:2.2.3] > at > play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) > [play_2.10-2.2.3.jar:2.2.3] > at scala.Option.map(Option.scala:145) [scala-library-2.10.3.jar:na] > at > play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) > [play_2.10-2.2.3.jar:2.2.3] > at > play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:260) > [play_2.10-2.2.3.jar:2.2.3] > at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344)
  6. 0

    customizing secureSocial for play framework and spring (Dependency injection)

    Stack Overflow | 3 years ago | noosha
    play.api.Application$$anon$1: Execution exception[[NoSuchBeanDefinitionException: No qualifying bean of type [securesocial.core.java.SecureSocial$Secured] is defined]]

    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. play.api.Application$$anon$1

      Execution exception[[ConfigurationException: Guice configuration errors: 1) Could not find a suitable constructor in securesocial.core.java.SecureSocial$Secured. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

      at securesocial.core.java.SecureSocial$Secured.class()
    2. SecureSocial
      SecureSocial$Secured.class
      1. securesocial.core.java.SecureSocial$Secured.class(SecureSocial.java:154)
      1 frame