tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack Buffer <black_merk...@yahoo.com>
Subject RE: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo
Date Mon, 20 Oct 2003 14:12:11 GMT

True dat!!
 
Thanks Larry, Yes actually I had an old servlet.jar in my setup plus the client jar files
that come with jboss-3.0.0.
I guess I have to look for a newer JBOSS huh??
thanks once again.
Edward
Larry Isaacs <Larry.Isaacs@sas.com> wrote:
The constructor being looked for exists only in the JSP 2.0
implementation. Your error implies that the TagAttributeInfo
class, found in jsp-api.jar in tomcat-5.0.12's common/lib
directory, is being overridden by an older JSP 1.2 or 1.1
version of this class, probably in a servlet.jar or j2ee.jar
somewhere in you setup. You will need to remove the out of
date classes/jar to get it to work.

Cheers,
Larry


> -----Original Message-----
> From: Stack Buffer [mailto:black_merkury@yahoo.com] 
> Sent: Saturday, October 18, 2003 7:18 PM
> To: tomcat-user@jakarta.apache.org
> Subject: java.lang.NoSuchMethodError: 
> javax.servlet.jsp.tagext.TagAttributeInfo
> 
> 
> 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:
> 
> 
> 
> in my web.xml:
> 
> 
> http://java.sun.com/jsp/jstl/fmt
> /WEB-INF/fmt.tld
> 
> 
> http://java.sun.com/jsp/jstl/core
> /WEB-INF/c.tld
> 
> 
> 
> http://java.sun.com/jsp/jstl/x
> /WEB-INF/x.tld
> 
> 
> 
> exception message 
> exception
> javax.servlet.ServletException: 
> javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;Z
> Ljava/lang/String;ZZ)V 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.ja
> va:256) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> 
> 
> root cause 
> java.lang.NoSuchMethodError: 
> javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;Z
> Ljava/lang/String;ZZ)V 
> org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(
> TagLibraryInfoImpl.java:577) 
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(Ta
> gLibraryInfoImpl.java:437) 
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibr
> aryInfoImpl.java:295) 
> org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoI
> mpl.java:204) 
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.
> java:460) 
> org.apache.jasper.compiler.Parser.parseDirective(Parser.ja
> va:525) 
> org.apache.jasper.compiler.Parser.parseElements(Parser.jav
> a:1625) 
> org.apache.jasper.compiler.Parser.parse(Parser.java:173) 
> org.apache.jasper.compiler.ParserController.parse(ParserContro
> ller.java:247) 
> org.apache.jasper.compiler.ParserController.parse(ParserContro
> ller.java:149) 
> org.apache.jasper.compiler.ParserController.parse(ParserContro
> ller.java:135) 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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