Hi,
I have created an injector using
injector = Guice.createInjector(Stage.PRODUCTION, moduleFoo);
afterwards I am registering another module for a child injector using,
injector = injector.createChildInjector(moduleBar);
but I am getting the following exception,
com.google.inject.ConfigurationException: Guice configuration errors:
1) A binding to -------Class-------- already exists on a child
injector.
while locating-------Class--------
for parameter 0 at -------Class--------.<init>(-------
Class--------:41)
while locating -------Class--------
Any help is greatly appreciated.
Regards
/Nuwan
--
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.