jsp出現錯誤can not find the tag directory /web-inf/tags


百度google了一大圈沒找到中文答案,無奈之下硬着頭皮看了一個英文答案http://stackoverflow.com/questions/11502703/eclipse-can-not-find-the-tag-directory

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:

  1. Right mouse click on project name at Project Explorer
  2. Build Path + Configure Build Path + Libraries + Add External Jars + Select the downloaded jstl.jar and standard.jar (If you've installed tomcat then you will find these .jars at X:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.22\webapps\examples\WEB-INF\lib) folder.

PS: For further information read - http://stackoverflow.com/tags/jstl/info

我竟然看懂了,,,,好吧,主要是他說的簡單,意思差不多是缺少兩個包,導入一下就好了,親測成功.


免責聲明!

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



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