報錯如下:
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就沒毛病了