<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错
2017-04-10 14:32
681 查看
有些时候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错,错误提示为:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
主要原因是缺少
jstl.jar
standard.jar
两个Jar包 地址
http://download.csdn.net/detail/candyo75/8393941
如果还不行,请调整jstl.jar 版本,这个主要根据web的version的版本有关。增加如下
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
</jsp-config>
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
主要原因是缺少
jstl.jar
standard.jar
两个Jar包 地址
http://download.csdn.net/detail/candyo75/8393941
如果还不行,请调整jstl.jar 版本,这个主要根据web的version的版本有关。增加如下
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
<taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
</jsp-config>
相关文章推荐
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>报错
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>会报错
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>报错
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 出错
- <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>标签再使用时总是报错
- <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>标签再使用时报错
- <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>标签再使用时报错
- <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
- 引入不了<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>标签库的问题
- 2016-09-23 eclipe 这个报错<%@ taglib prefix="c" uri="http://java.sun.com/jsp/core" %>
- SSM搭建过程用遇到 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> uil找不到问题
- JSP中<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>标签的使用
- Tomcat启动项目,报错The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xm
- 报错:jstl标签——The absolute uri: http://java.sun.com/jsp/jstl/core cannot beresolved in either web.xml o
- Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core
- JavaWeb 报错The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml
- Cannot resolve taglib with uri http://java.sun.com/jsp/jstl/core
- eclipse下taglib标准标签库问题Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"