报这个错误一般分为两种情况1.缺少jar包2.tomcat下的路径配置错误
1缺少jar包
将jstl.jar和standard.jar包直接拷贝到工程的lib目录下,这个时候jsp页面可以正常显示
2.tomcat下的路径配置错误
如果你发现除了报上边的错误之外还有下边的web。xml警告,这是就得小心tomcat下的server.xml了
警告: Internal Error: File /WEB-INF/web.xml not found
严重: Servlet.service() for servlet jsp threw exception
在host里面的appBase配相对路径,
<Host name="localhost" appBase="webapps/education" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
而docbase配绝对路径。
<Context path="" docBase="D:/wwwroot/education/wwwroot/education" reloadable="true" />
<Context path="" docBase="D:/wwwroot/education/wwwroot/education" reloadable="true" />