• 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/Bookmark

Read More

Comments

7 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

Post a Comment