aspose file tools*
The moose likes JBoss/WildFly and the fly likes New to JBoss -- NoSuchMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "New to JBoss -- NoSuchMethodError" Watch "New to JBoss -- NoSuchMethodError" New topic
Author

New to JBoss -- NoSuchMethodError

David Madouros
Greenhorn

Joined: Mar 08, 2005
Posts: 18
I recently installed JBoss and am working with the book -- JBoss at Work -- to learn how JBoss works. However, when I run the sample JSP pages with JSTL tags, I get the following error:

exception

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

root cause

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:179)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


JBoss Version 4.0.2
Tomcat Version 5.5.9
Java SDK Version 1.4.2_10

Running everything out-of-the-box...

I googled this error and found that I'm not the only one this has happened to, however, all of the solultions appy to JBoss 3.x and the suggested solutions don't seem to apply to version 4.0.2.

Any help is appreciated.


DMad


David Madouros<br />SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New to JBoss -- NoSuchMethodError
 
Similar Threads
problem on running struts-blank
JSTL error
I am getting this exception
getting java.lang.NoSuchMethodError when attempting to run strut eg
Error in deploying sample application