Created
June 19, 2016 03:11
-
-
Save agibsonccc/895f9537ff8d38ed414b543101230921 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com.google.inject.CreationException: Unable to create injector, see the following errors: | |
1) Could not find a suitable constructor in com.lightbend.lagom.internal.server.ResolvedServices. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. | |
at com.lightbend.lagom.internal.server.ResolvedServices.class(ServerBuilder.scala:97) | |
while locating com.lightbend.lagom.internal.server.ResolvedServices | |
for parameter 1 at com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry.<init>(ServiceRegistrationModule.scala:55) | |
at com.lightbend.lagom.internal.server.ServiceRegistrationModule.bindings(ServiceRegistrationModule.scala:29): | |
Binding(class com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry to self eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1) | |
2) Could not find a suitable constructor in com.lightbend.lagom.javadsl.api.ServiceInfo. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. | |
at com.lightbend.lagom.javadsl.api.ServiceInfo.class(ServiceInfo.java:13) | |
while locating com.lightbend.lagom.javadsl.api.ServiceInfo | |
for field at com.lightbend.lagom.internal.registry.ServiceRegistryClientProvider.serviceInfo(ServiceRegistryModule.scala:64) | |
at com.lightbend.lagom.internal.registry.ServiceRegistryModule.configure(ServiceRegistryModule.scala:30) (via modules: com.google.inject.util.Modules$OverrideModule -> com.lightbend.lagom.internal.registry.ServiceRegistryModule) | |
2 errors | |
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466) | |
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155) | |
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) | |
at com.google.inject.Guice.createInjector(Guice.java:96) | |
at com.google.inject.Guice.createInjector(Guice.java:84) | |
at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:181) | |
at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:123) | |
at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21) | |
at com.typesafe.conductr.bundlelib.lagom.ConductRApplicationLoader.load(ConductRApplicationLoader.scala:22) | |
at play.core.server.LagomReloadableDevServerStart$$anonfun$mainDev$1$$anon$2$$anonfun$get$1$$anonfun$apply$1$$anonfun$2$$anonfun$3.apply(LagomReloadableDevServerStart.scala:151) | |
at play.core.server.LagomReloadableDevServerStart$$anonfun$mainDev$1$$anon$2$$anonfun$get$1$$anonfun$apply$1$$anonfun$2$$anonfun$3.apply(LagomReloadableDevServerStart.scal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment