coderABC

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

JSP页面的jstl导入报错

原因是项目中没有jstl.jar 和 standar.jar这两个jar包。  
下载这两个jar包,右键项目 -> buildPath -> configure -> libraries -> add external jars -> 选择下载的两个jar包。  
这时候jsp页面的报错应该消失了。

启动tomcat后报错

错误:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application。

检查项目WebRoot -> WEB-INF -> lib里有没有这两个jar包。没有的话拷贝进来。   
还不行的话,再检查tomcat -> webapps -> 项目文件夹 -> WEB-INF -> lib里有没有这两个jar包。没有的话拷贝进来。

到这一步完全解决。

posted on 2017-07-15 16:57  as798982083  阅读(289)  评论(0编辑  收藏  举报