I am facing the same issue.. did you find any solution for the same? On Saturday, 19 October 2013 05:16:44 UTC+5:30, Rohit Nigam 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/fa913c4d-4bc4-417e-a79a-12f1e8991cb2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
