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

部署生产环境出现以上错误,原因是jsp页面中使用了jstl的标签,但没有导入相应的jar包。因为开发环境 myeclipse10 自带类库已经集成

解决方法

①将jstl.jar和standard.jar放到WEB-INF/lib下重新打war包部署即可

②如果是maven管理,pom.xml文件中加上下面两个依赖

<properties>

<jstl.version>1.1.2</jstl.version>

</properties>

...

<dependency>

<groupId>javax.servlet</groupId>

<artifactId>jstl</artifactId>

<version>${jstl.version}</version>

</dependency>

<dependency>

<groupId>taglibs</groupId>

<artifactId>standard</artifactId>

<version>${jstl.version}</version>

</dependency>

其中standard 的jar包中包含了对应的tld文件。

jstl.jar和standard.jar下载地址 : jakarta-taglibs-standard-1.1.2.zip(上传云盘)

时间: 2024-10-13 13:56:04

This absolute uri http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application的相关文章

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问题解决方案参考

错误信息: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 分几种情况: 1.jstl.jar是1.1版本,需要引入standard.jar. 2.上述两个jar包如果都有了,反编译standard.jar包查看是否c.tld中的<uri>http://java.sun.c

org.apache.jasper.JasperException: 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

编程中遇到:org.apache.jasper.JasperException: 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 这是因为你的JSTL配置有误!我可以肯定你是在JSP页面中使用了JSTL,但是JSP页面中引入JSTL时却配置错误,错误为URI不正确(这有可能

maven使用jstl表达式和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解决

maven 中使用jstl表达式中出现如上错误.原因: 1.由于在maven中的web项目没有自动依赖jstl的jar 未在pom文件中添加jstl相关的jar 1 <!--jstl表达式--> 2 <dependency> 3 <groupId>jstl</groupId> 4 <artifactId>jstl</artifactId> 5 <version>1.2</version> 6 </depe

关于jstl的问题:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed

Current sofeware:java Eclipse ee 4.5.2 + Tomcat 6.0 Question: 在tomcat中部署好了我的项目,然后发布后没有报错.但是当在浏览器打开的时候,便会出现这样的报错: java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the”错误 Solution: 这个问题其实是工具发布的问题.在eclipse项目的Persisted container是存在jstl的

http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed wit

异常: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 这是因为页面中用了struts标签的原因. 解决方法: 1.下载jstl1.1 解压后把lib文件夹下的jstl.jar和standard.jar复制到项目的WEB-INF/lib目录下,到此结束就行,如果还需要tld等

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar

http://blog.csdn.net/lzz313/article/details/7554736 -------------个人经历------- myeclipse 10.6 的jsp页面引用 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 的程序 在myeclipse 8.6中页面运行500错误 找到Java EE 5 Libraries 的找到 jstl-1.2.

使用jstl报http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar错误

今天创建了一个maven项目,想使用jstl报http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar的错误 该加的我都加了: 1.pom.xml <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version&

恼人的The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved...错误,无奈用Struts的bean:write替代了JSTL的C:out

一个应用中有两个页面使用了JSTL的c:out输出,就类似这么简单三句 <c:if test="${!empty error}">       <h2><c:out value="${error}"/></h2> </c:if> 应用在本地MyEclipse中的Tomcat6跑得正常,但放到CentOS的Tomcat7上出现了错误 The absolute uri: http://java.sun.com/

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved

偶在页面里引入了标签如下:     <%@   taglib   prefix="c"   uri="http://java.sun.com/jstl/core"   %>     出错提示:         org.apache.jasper.JasperException:   /index.jsp(0,0)   This   absolute   uri   (http://java.sun.com/jstl/core)   cannot   be