静态资源加载不出,使用<mvc:default-servlet-handler/>也没有用

我的springmvc.xml文件

img

我的web。xml

img

我的首页界面是有protal目录的,但是浏览器上加载的js,和界面的路径portal都不见了
然后我手动访问http://localhost/itcast-shop/portal/index.html才可以

img

以下是浏览器

img

无论是使用mvc:default-servlet-handler/还是<mvc:resources 都没有用

全都是304吗?还是404?


<script src="${pageContext.request.contextPath}/portal/jquery.min.js"></script>

就像这样