The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.报错,但是不知道哪里错了。求解!
404错误是资源没找到。看错误信息,是访问 ${pageContext.request.contextPath}/leave/leaves 这个路径时,${pageContext.request.contextPath} 没有解析出它的值,而是直接把它作为路径的一部分了
https://blog.csdn.net/qq_44543508/article/details/104135265 看看这个
解决方案
1.JSP 中添加属性 isELIgnored="false"
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" isELIgnored="false" %>
2.使用 web-app 4.0 版本
将action中的${pageContext.request.contextPath}换成<%=request.getContextPath()%>试试
它是说你的请求URL有问题,http请求,没有匹配仔细检查一下