tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack Buffer <black_merk...@yahoo.com>
Subject java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo
Date Sat, 18 Oct 2003 23:18:17 GMT
Hi all,
I am running tomcat-5.0.12 on a win2k machine with j2sdk1.4.2, I just recently downloaded
the jakarta-taglibs-standard-1.1.0-B1 and I copied the jar files (jstl.jar, standard.jar)
into tomcats common/lib directory, plus I copied the following tlds into my WEB-INF: core.tld,x.tld,fmt.tld.
I also updated my web.xml to reflect these new tags,
but I keep getting the  error message below when try to access the page. Any help???
 
in my jsp page:
 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
in my web.xml:
 
<taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/fmt.tld</taglib-location>
  </taglib>
  <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
  </taglib>
  
  <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/x</taglib-uri>
    <taglib-location>/WEB-INF/x.tld</taglib-location>
  </taglib>
 

exception message 
exception
javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)	javax.servlet.http.HttpServlet.service(HttpServlet.java:853)



root cause 
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:577)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:437)	org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:295)
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:204)	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1625)
org.apache.jasper.compiler.Parser.parse(Parser.java:173)	org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)	org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)




---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message