现在的位置: 首页 > 综合 > 正文

org.apache.jasperException:the absolute uri:http://kava.sun.com/jsp/jstl/c

2018年01月29日 ⁄ 综合 ⁄ 共 509字 ⁄ 字号 评论关闭

报这个错误一般分为两种情况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" />

 

抱歉!评论已关闭.