facebook

Error cannot find tag class

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261460 Reply

    Hi All,

    I am using JSTL tags in my JSP page. I am getting the below error while compiling my JSP page:

    [java] Translation of /pages/r2/CustomerReqDetail.jsp failed: (line 6): Error in using tag library uri=’/WEB-INF/c’ prefix=’c’: cannot find tag class: ‘org.apache.taglibs.standard.tag.common.core.CatchTag’

    [java] Java Result: 1

    My c.tld file is under /WEB-INF/c.tld
    jstl.jar file is under /WEB-INF/lib

    I defined tld file in /WEB-INF/web.xml:

    <taglib>
    <taglib-uri>/WEB-INF/c</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>

    In my jsp page:

    <%@ taglib uri=”/WEB-INF/c” prefix=”c” %>

    If you want more information, please let me know.

    Thanks,
    Srinivas

    #261513 Reply

    Riyad Kalla
    Member

    Srinivas,
    You are missing the JSTL implementation JAR, it is called standard.jar and is a compliment to the spec JAR (jstl.jar) that you have.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error cannot find tag class

You must be logged in to post in the forum log in