绝对 uri:http://java.sun.com/jsp/jstl/core 无法在 web.xml 或在 tomcat 中使用此应用程序错误部署的 jar 文件中解析 [英] Absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application error in tomcat

查看:92
本文介绍了绝对 uri:http://java.sun.com/jsp/jstl/core 无法在 web.xml 或在 tomcat 中使用此应用程序错误部署的 jar 文件中解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚删除了 tomcat 服务器并将其重新添加到 Eclipse Kepler 中,然后当我运行我的项目时出现此错误.删除服务器之前没有任何问题.

I just deleted the tomcat server and added it back in Eclipse Kepler and then I am getting this error when I run my project.Before deleting the server there was no issues.

我的 POM 的一部分包含:

Part of my POM contains :

 <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>provided</scope>
        </dependency>

和我的 JSP 页面包含:

and My JSP page contains :

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

我尝试了这里的其他解决方案,但没有解决我的问题.非常感谢任何帮助.

I tried other solutions from Here but did not resolve my issue.Any help is greatly appreciated.

推荐答案

试试这个来自 mvnrepository

<dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>

阅读类似帖子这里

这篇关于绝对 uri:http://java.sun.com/jsp/jstl/core 无法在 web.xml 或在 tomcat 中使用此应用程序错误部署的 jar 文件中解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆