ieda引入jstl后报错解决办法

本文介绍了解决JSTL在IDEA环境下部署时出现的HTTP 500错误的方法。通过正确配置Artifacts输出布局及将jstl.jar添加到项目依赖中,可以有效避免找不到JSTL绝对URI的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

报错如下:

HTTP Status 500 - 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

 

type Exception report

message 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

description The server encountered an internal error that prevented it from fulfilling this request.

 环境为 idea,jstl-1.2.jar,standard不需要引入了

JSP 标准标签库,和jstl.jar 一起使用,在1.0的版本中,但在jstl-1.2.jar 就不在需要了

 

错误原因是 :项目发布后  WEB-INF/lib没有找到我们jstl.jar

----解决办法:说是去web.xml下配置的那种方法亲测没用;

1.首先引入

2.Artifacts——>Outout_Layout

 

3.选中我们的jstl包。加入到左边

 

 

 4.保存,重启tomcat就没毛病了

 

转载于:https://www.cnblogs.com/zhwl0520/p/7609752.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值