tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PGibbo...@aol.com
Subject Error: javax/servlet/jsp/tagext/TagLibraryValidator
Date Fri, 04 Mar 2005 07:25:28 GMT
Hi There,
i need some help working out how to fix the above error. 
 
When i code the following line:  
<%@ taglib uri="/jstl-c" prefix="c" %>
in my jsp page i  get some crazy errors:
 
 
exception  
javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator

                                
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

                                
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root  cause 
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator

                                java.lang.ClassLoader.defineClass0(Native 
Method)

                                
java.lang.ClassLoader.defineClass(ClassLoader.java:539)

                                
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                                
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)


 
etc.
 
 
I have downloaded jakarta-tomcat-5.5.4 &  jakarta-taglibs-standard-1.1.2.  
Also i have ammended web.xml to:
 
<!-- JSTL Deployment -->
<taglib>
<taglib-uri>/jstl-c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>


And i have copied standard.jar & jstl.jar to  ROOT/WEB-INF/lib  ( is this the 
right place) & the all the  tld's to /WEB-INF.  Also i'm running 1.4.2_07.
 
how do i get taglibs to work propoerly. I've seem numerous posts on the web  
about this but never a fix..
 
thanks in advance pg

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message