This is driving me nuts. In my web.xml, I have 2 servlets mapped to the same URL, in my test env. Configuration wise doesn't make sense but that's not the reason for this post.The servlet engine (Tomcat 7.0.42) when started up throws a:
java.lang.IllegalArgumentException: The servlets named [Servlet1] and [Servlet2] are both mapped to the url-pattern [*.php] which is not permitted.
The test server uses servlet spec 3.0.
But then in my dev environment I have the same server, servlet spec config, but I do not see the error??!!!
The two environments do have diff OS. Test runs on Win2k8 and dev runs Windows 7 - I am not sure if the OS matters. But whats driving me nuts is why is the error not consistent across both envs?