在Eclipse下提示:
Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”
访问对应的页面时,console控制台提示:
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
从Tomcat官网去下载JSTL jar包,链接是:Apache Taglibs Downloads
注意这4个都下载:
拷贝下载后的文件到tomcat lib下,如图:
右键点击Eclipse下对应的Project,Build path --> Config Build Path,进入Liabraries标签页,添加Liabrary,如下: