In DispatcherServlet SpringMVC web.xml configuration of the core when the controller needs to be configured url-pattern attributes of servlet-mapping, showing intercepts all requests in the path, to the process to Spring, so if the configuration /, then all Spring access paths are referred to treatment, and therefore can not be accessed static resources
A solution: Modify / interception label
solutions add two <mvc: resources mapping = "" location = "" />, is set to release the static resource
https://www.cnblogs.com/linnuo/p/7699401.html