Dears,
I just encountered an error (see below) that annoys me: I receive an
error in child injector, but I don't have any child injector. Since
the project is recenlty rewritten from scratch, I have only three
modules (plus one "installing" these). The Game class is bound through
an assisted injection and only once. I checked several times.
How is it possible and how can I solve this?
Thank you and regards,
Olivier
--------------------
Exception in thread "main" com.google.inject.ConfigurationException:
Guice configuration errors:
1) A binding to core.game.Game already exists on a child injector.
while locating core.game.Game
1 error
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:784)
at com.google.inject.InjectorImpl.getProvider(InjectorImpl.java:743)
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
at core.Main.main(Main.java:9)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---