This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Exception... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Exception..." Watch "Exception..." New topic
Author

Exception...

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
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: 979
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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Exception...
 
Similar Threads
JSTL error
can't run jstl in jsp
Error in deploying sample application
I am getting this exception
Getting Error..