• Entries (RSS)
  • Comments (RSS)

Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

Posted by | Posted in JSP | Posted on 09-12-2008

Tagged Under : , ,

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”‘ is an error message that you might have seen while executing your JSTL code. So if you are getting this error message, the first thing you need to do is to make sure that you have all the JSTL jar files are in your class path. If you have the JSTL libraries in your class path and still you are getting the same error, you will have an older version of JSTL in your class path. Now to fix this issue change the declaration to

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

Share

Read More

Comments

15 comments posted onCannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

  1. Thnks! your comment is very useful for me

  2. Thanks you helped me, but can you give also a short explanation why it help to change the taglib declaration?

  3. Depending on the version of web application you need to use different versions of JSTL. For web application version 2.5 and 2.4, the JSTL will be referred

    < %@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

    where for version 2. 3 the JSTL reference will be

    < %@taglib prefix="c" uri="http://java.sun.com/jsp/core" %>

  4. Many many thanks, very useful

  5. thanks. very tricky useful :)

  6. So concise and so useful! Thanks again.

  7. Excellent input ,it worked for me ,thanks

  8. Hi,

    Could you please tell me how to find out web application version. Is it same as Dynamic web module version which is 2.4 for me.
    Also I changed to .. /jsp/jstl/core” but I’m still getting HTTP error 500.

    Please help.

  9. Just to mention that I have added both jstl.jar & standard.jar to my classpath and build path.

    C:\Tomcat6\apache-tomcat-6.0.29\webapps\examples\WEB-INF\lib\jstl.jar;
    C:\Tomcat6\apache-tomcat-6.0.29\webapps\examples\WEB-INF\lib\standard.jar;

  10. It is the Dynamic Web module version only. We can get this info from web.xml.

  11. Just to mention that I have added both jstl.jar & standard.jar to my classpath and build path. :!:

    very useful thanks.

  12. @Albin Joseph, thanks for this article.

    @Pramod Thanks actually should go to you for mentioning the jar names. I was using tomcat 7 and these jars were not there inside $tomcat_home\lib.

    Thanks again!

  13. Very helpful! Thanks!

  14. Superb. Many thanks

  15. Thank you this helped a lot

Post a Comment