Eclipse Java EE找不到JSTL

在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,如下:

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容