错误详情:
HTTP Status 500 - java.lang.ClassNotFoundException: org.apache.jsp.list_jsp
type Exception report
message java.lang.ClassNotFoundException: org.apache.jsp.list_jsp
description The server encountered an internal error that prevented it from fulfilling this request.
报错原因:
<%@ taglib prefix=“fn” uri=“http://java.sun.com/jsp/jstl/functions” %>
<%@ taglib prefix=“c” uri=“http://java.sun.com/jsp/jstl/core” %>
<%@ taglib prefix=“fmt” uri=“http://java.sun.com/jsp/jstl/fmt” %>
将JSP中这几行去掉后就没有报错了。
解决方法:
1、从以下链接中下载jstl-1.2.jar 与 standard-1.1.2.jar。
jst1-1.2.jar maven download
standard-1.1.2.jar maven download
2、在maven仓库中找到两个jar包,复制到Tomcat的lib文件夹下。
maven仓库路径不清楚?看这里:file->settings->搜索maven->看local repository
3、重命名standard-1.1.2.jar为standard.jar。