Skip to content

Instantly share code, notes, and snippets.

@agibsonccc
Created July 25, 2016 08:49
Show Gist options
  • Select an option

  • Save agibsonccc/f1d9d07fc202dc9c37009235f42f8fbd to your computer and use it in GitHub Desktop.

Select an option

Save agibsonccc/f1d9d07fc202dc9c37009235f42f8fbd to your computer and use it in GitHub Desktop.
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) No implementation for com.lightbend.lagom.internal.registry.ServiceRegistry was bound.
while locating com.lightbend.lagom.internal.registry.ServiceRegistry
for parameter 3 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)
1 error
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.inject.guice.GuiceBuilder.injector(GuiceBuilder.java:208)
at play.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.java:127)
at com.lightbend.lagom.javadsl.testkit.ServiceTest$.startServer(ServiceTest.scala:216)
at com.lightbend.lagom.javadsl.testkit.ServiceTest.startServer(ServiceTest.scala)
a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment