And which module is your C3 class bound in, and what does it's binding look
like?

Are you using a specific dropwizard-Guice library?
On Oct 18, 2013 6:51 PM, "Rohit Nigam" <[email protected]> wrote:

> Hi
> I am using dropwizard and it is not able to handle the injections in the
> dependent jars. For example in my module i have stated  another module
> which is present in  another jar and in that module i have done a binding
> of a interface to the implementing class . In this class constructor i am
> using injection to instantiate the class from an interface and it fails
> with an error that "No Implementation for that Interface was bound"
>
> Main Module m1
>
> is referring to M2 Module class
>
>   install(new M2Module);
>
> In M2Module class (different jar file )  i have  a bind
>
>
> bind(C1.class).toProvider(
> **C1Implementor.class).in(**Scopes.SINGLETON);
>
> Inside C1Implementor class constructor
>
> @Inject
>   public C1Implementor (final C3 config,..)
>
> it fails with "No Implementation for  C3 was bound"
>
> Any ideas how do i resolve this error. Thanks in advance.
>
> Rohit
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to