jsp出現錯誤 Can not find the tag directory "/WEB-INF/tags"
阿新 • • 發佈:2018-12-26
還是轉載一下別人的說法
You have to include/add standard.jar and jstl.jar (or simply addhttp://download.java.net/maven/1/jstl/jars/jstl-1.2.jar - no need to include standard.jar ) to your web-project via:
- Right mouse click on project name at Project Explorer
- Build Path + Configure Build Path + Libraries + Add External Jars + Select the downloaded jstl.jar and standard.jar (If you've installed
tomcat
PS: For further information read - http://stackoverflow.com/tags/jstl/info
也就是
1、沒有在WEB-INF目錄下新建tags目錄
2、在確認已經新建了tags目錄的前提下,如果還報錯,就匯入standard.jar和jstl.jar,
maven倉庫連結如下:
standard: http://mvnrepository.com/artifact/taglibs/standard/1.1.2
jstl: https://mvnrepository.com/artifact/jstl/jstl/1.2
原文:https://blog.csdn.net/yechi9142/article/details/78805202