I'm having a problem where one of my modules relies on another module
to be constructed.

RepositoryModule has a dependency on ServerModule registering its
bindings.

Before, on my Non-Web-Server, I did:

Injector injector = Guice.createInjector(new LoggingModule(), new
ServerModule());
injector = injector.createChildInjector(new RepositoryModule(), new
ServerModule());

and it worked.

But now, InternalServletModule.configure() gets called twice resulting
in exceptions like:

 A binding to com.google.inject.servlet.FilterPipeline was already
configured at
com.google.inject.servlet.InternalServletModule.configure(InternalServletModule.java:
100).

What should I do now?

Thanks

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