Upgrade to Guice 3.0 -- it gives a more descriptive error message.

sam

On Fri, Jul 15, 2011 at 4:09 PM, glenviewjeff <[email protected]>wrote:

> I'm trying to implement the solution to the "robot legs" problem and
> solution
> <http://code.google.com/p/google-guice/wiki/FrequentlyAskedQuestions#How_do_I_build_two_similar_but_slightly_different_trees_of_objec>described
> in the FAQ, but received the following very unclear error.  I am not aware
> of any explicit use in my application of "child injectors."
>
> Thanks for any help!
>
> 1) A binding to ...myClass<..myOtherClass> already exists on a child
> injector.
>   while locating ...myClass<..myOtherClass>
>     for parameter 0 at ...AnotherClass.<init>(Unknown Source)
>   while locating ...AnotherClass
>     for parameter 2 at ...YetAnotherClass.<init>(Unknown Source)
>   while locating YetAnotherClass
>     for parameter 2 at ...EvenAnotherClass.<init>(Unknown Source)
>   at ...LastClass(MyModule.java:65)
>
>  --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-guice/-/W3NTM0VUdVoJ.
> 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.
>

-- 
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.

Reply via email to