...
The original file containing the problem can be found here.
WebApplicationInitializer fails to map on '/'
There is an issue with mapping the DispatcherServlet in servlet 3.0 in some version of Tomcat and JBoss. These containers will fail to map the DispatcherServlet via the AbstractDispatcherServletInitializer because Tomcat and JBoss already register a default Servlet on "/".
Info |
---|
Mapping to '/' under Tomcat Apache Tomcat maps its internal DefaultServlet to "/", and on Tomcat versions <= 7.0.14, this servlet mapping cannot be overridden programmatically. 7.0.15 fixes this issue. Overriding the "/" servlet mapping has also been tested successfully under GlassFish 3.1. |