jsp出现错误 Can not find the tag directory "/WEB-INF/tags"

还是转载一下别人的说法

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

也就是

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 
 

猜你喜欢

转载自blog.csdn.net/czw0723/article/details/85209613