ieda引入jstl后報錯解決辦法


 

報錯如下:

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就沒毛病了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM