Yes, you certainly need to call the super:
@Override
public void contextInitialized(ServletContextEvent
servletContextEvent) {
this.path =
servletContextEvent.getServletContext().getRealPath("/");
super.contextInitialized(servletContextEvent);
}
My original code had other initializations and logging, I've deleted
it by mistake when I posted the snippet. Thanks!
On Oct 21, 2:20 pm, Filipe Sousa <[email protected]> wrote:
> I think you need to call super.contextInitialized(servletContextEvent)
> otherwise getInjector() won't be called
--
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.