aspose file tools
The moose likes JSP and the fly likes Exception... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Exception..." Watch "Exception..." New topic
Author

Exception...

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 973
What is the solution for this error...exception


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:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


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:568)
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:162)
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:1539)

I am using a tag library...

Thnx in advance..
A Kumar
Sumit Deshpande
Ranch Hand

Joined: Jan 10, 2005
Posts: 38
It will be more helpful if you post the code and tld file.
Apparently, as your stacktrace is trying to tell,
exception

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V

there is some problem with TagAttributeInfo constructor. For more information about TagAttributeInfo, please read the java doc here
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 973
Actually when i deployed this war in jboss3.2.1 its working..

but not in jboss 4.0.1...

not sure whether the war needs further libraries...

for processing...

Thnx in advance,
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Exception...
 
Similar Threads
Getting Error..
Error in deploying sample application
JSTL error
I am getting this exception
can't run jstl in jsp