Yes, i tried an implementation identical to the example as well - with the same result: the error only occurs when binding a servlet in the code. If I don't, then it works fine (but nor servlets are served obviously). The reason I did not go with the suggested implementation (from the example) is that I already have my injector set up (the GuiceMainModule) and accessible through the App object. But this should be an ok solution, right (separate regular DI bindings and servlet bindings in 2 different module implementations and build one injector from those two)?
-- 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/-/x3-l6mVSuvgJ. 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.
