springmvc Failed to load resource: the server responded with a status of 404 (Not Found)

jsp页面导入css、js提示上述问题。

Spring对静态资源的请求做专门处理

<!-- 对静态资源的请求 -->
<mvc:resources location="/js/" mapping="/js/**"/>

原文地址:https://www.cnblogs.com/myibm/p/5970607.html