springboot 项目 修改了项目访问路径,在jsp文件中,引入了${pageContext.request.contextPath}项目路径,还是之前的访问路径,没有生效该怎么办!
application.properties配置文件
#配置页面
server.servlet.context-path=/shop
jsp文件
<li value="url(${pageContext.request.contextPath}/res/images/admin/loginPage/background-1.jpg)">
<img src="${pageContext.request.contextPath}/res/images/admin/loginPage/background-mini-1.jpg"/>
</li>
运行之后报错

我的springboot版本是2.7.10