jstlタグライブラリを導入してエラーを報告するThe absolute uri:http://java.sun.com/jstl/core cannot be reolved in either web.xml

1798 ワード

一、エラー情報:org.apache.jasper.JasperException:The ab solution:http://java.sun.com/jstl/core cannot be resoloved in either web.xml or the jar files deployed with this aplication
二、解決方法
1.jstlパッケージを導入するかどうかを確認し、導入していません。

	    javax.servlet
	    jstl
	    1.2
	
2.mavenはjarカバンをダウンロードする時にネットがよくないかもしれません。プロジェクト名のところでマウスの右ボタンを押して、mavenを選んで、udate projectを選択して、あなたのプロジェクトを選んで、再度ダウンロードします。
引入jstl标签库报错The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml_第1张图片 引入jstl标签库报错The absolute uri: http://java.sun.com/jstl/core cannot be resolved in either web.xml_第2张图片
3.上記の2つの方法が解決できないなら、tomcat>conf>catalina.propertieを確認して、tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jartomcat.util.scan.StandardJarScanFilter.jarsToScan=\に変更して、new一つのserverを再構築してください。
(この前はtomcatの起動が遅いので、tomcat.util.scan.StandardJarScanFilter.jarsToScan=\tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jarに変えました。起動速度はずいぶん速くなりましたが、jstlのタブライブラリを導入するまではずっとエラーがありました。
4.もしまだ解決できないなら、もう一度tomcatをダウンロードして住所をダウンロードすることを提案します。http://tomcat.apache.org/