Cannot Find The Tag Library Descriptor For “http://java.sun.com/jsp/jstl/core”
Cannot Find The Tag Library Descriptor For “http://java.sun.com/jsp/jstl/core describes about How to resolve the error message "Cannot Find The Tag Library Descriptor For “http://java.sun.com/jsp/jstl/core”".
If you are getting this error, Please check whether all libraries are in the project's classpath,
If it is already in classpath and still getting this error, then you will have an older version of JSTL in your class path.
You need to download the latest versions of JSTL jar file, in order to resolve this error message.
You can see URI (namespace) changes of different JSP / Servlet versions below.
You need to download
Following jar must be in classpath
- jstl-1.2.jar
Note for JSTL 1.2 there is just one jar file instead of two
Incorrect
Correct
JSTL1.0 supports JSP 1.2 & Servlet 2.3 (tomcat 4)
Core c | http://java.sun.com/jstl/core |
XML Processing x | http://java.sun.com/jstl/xml |
Localization & Formatting fmt | http://java.sun.com/jstl/fmt |
Database Access sql | http://java.sun.com/jstl/sql |
JSTL 1.1 supports JSP 2.0 & Servlet 2.4 (tomcat 5)
Core c | http://java.sun.com/jsp/jstl/core |
XML Processing x | http://java.sun.com/jsp/jstl/xml |
Localization & Formatting fmt | http://java.sun.com/jsp/jstl/fmt |
Database Access sql | http://java.sun.com/jsp/jstl/sql |
JSTL 1.2 supports JSP 2.1 & Servlet 2.5 (tomcat 6)
Core c | http://java.sun.com/jsp/jstl/core |
XML Processing x | http://java.sun.com/jsp/jstl/xml |
Localization & Formatting fmt | http://java.sun.com/jsp/jstl/fmt |
Database Access sql | http://java.sun.com/jsp/jstl/sql |
(JSTL 1.2 uses the same prefixes as of JSTL 1.1)