Overriding ServletModule leads to logspam
Open
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
Simple code line:
`Guice.createInjector(Modules.override(new ServletModule()).with(new ServletModule()));`
Generates misleading warning in log:
> WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
Contributor guide
Assessment
This issue has not been assessed yet.