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       </dependency>
 7       <dependency>
 8           <groupId>taglibs</groupId>
 9           <artifactId>standard</artifactId>
10           <version>1.2</version>
11       </dependency>

在这里添加上面两个jar的依赖就可以解决

时间: 2024-10-21 21:54:53

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解决的相关文章

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不正确(这有可能

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> ... <de

使用Jstl异常:The absolute uri: http://java.sun.com/jsp/jstl/core cannot&amp;nbs

错误提示是:        org.apache.jasper.JasperException: 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 web项目出现如上问题,据查是版本问题:     JSTL 1.0 的声明是:     <%@ taglib prefix=&qu

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://www.springframework.org/security/tags cannot be resolved in either web.xml or the jar files deployed with this application

The absolute uri: http://www.springframework.org/security/tags cannot be resolved in either web.xml or the jar files deployed with this application 需要添加spring-security-taglibs-3.0.5.RELEASE.jar包及其依赖包 对于spring security我只是初学者,原来只是想找一个用于权限验证的源码借鉴一下,结果一搜

关于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的

恼人的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