Spring MVC cannot access the root directory


Spring 3 was used at the beginning. When it was deployed to tomcat7, it was found that the root directory could not be accessed

It is found that Tomcat6 can be accessed. It may be that a servlet version and Tomcat compatible bug have been triggered

Finally, we know that it is the problem of the welcome file, because the mapping method mapped to the root directory is replaced by the welcome file

Recommended Today

Docker minimalist Guide

What is docker? Beginners can use the concept of “virtual machine” to understand docker. When we want to build a virtual machine, we need to download two things: virtual machine software (such as VMware) and. ISO file (such as Ubuntu), and then we can use the Ubuntu system in VMware. Similarly, when we want to […]