【问题标题】:How to fix the "can not find the tag library descriptor for http //java.sun.com/jsp/jstl/core" in a JSP page? [duplicate]如何修复 JSP 页面中的“找不到 http://java.sun.com/jsp/jstl/core 的标签库描述符”? [复制]
【发布时间】:2015-03-07 04:59:05
【问题描述】:

我已尝试以下链接:How to resolve : Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

我在我的项目中将“javax.servlet.jsp.jstl.core.jar”添加到WEB-INF/lib,下面是web.xml的一部分

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" 
xmlns="http://java.sun.com/xml/ns/j2ee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

如果有什么不同的话,我正在使用 JRE7。任何帮助表示赞赏!

【问题讨论】:

标签: jsp jstl taglib


【解决方案1】:

我能够修复错误,结果发现要添加的正确 jar 是“jstl-1.2.jar”,位于 http://mvnrepository.com/artifact/jstl/jstl/1.2

【讨论】:

    猜你喜欢
    • 2013-03-04
    • 2011-08-24
    • 1970-01-01
    • 2018-11-22
    • 2015-09-30
    • 2021-08-27
    • 2015-02-09
    • 2015-08-13
    相关资源
    最近更新 更多