jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes problem running struts application 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 » Frameworks » Struts
Bookmark "problem running struts application" Watch "problem running struts application" New topic
Author

problem running struts application

okkadu privt
Ranch Hand

Joined: Feb 07, 2005
Posts: 30
hi guys,

I m new to struts. I have done all the necessary installation in my Tomcat Server 5.0 to support struts, as far my knowledge is concerned. But when i m running my application in the server i get the following exceptions. So, could someone pliz help me to find a solution.

exception

javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String ;ZZ)V
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 256)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 205)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:177)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.jav a:171)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:149)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:15 6)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:203)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti on(Http11Protocol.java:484)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6 31)
at java.lang.Thread.run(Thread.java:536)


root cause

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String ;ZZ)V
at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImp l.java:546)
at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl. java:410)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java: 275)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:184)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:456)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:517)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1567)
at org.apache.jasper.compiler.Parser.parse(Parser.java:174)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:254)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:154)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:250)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 256)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 205)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:177)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.jav a:171)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:149)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:15 6)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:203)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti on(Http11Protocol.java:484)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6 31)
at java.lang.Thread.run(Thread.java:536)
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
There isn't really enough information here for me to know what's going on. Is it failing on one of the example applications that comes with Struts, or is it your own application? It would also help if you could provide a link for someone to download your struts-config.xml.

If it's failing on your own application, I'd encourage you to just try deploying one of the Struts example applications and get that working before you try your own.

Merrill


Merrill
Consultant, Sima Solutions
 
Consider Paul's rocket mass heater.
 
subject: problem running struts application
 
Similar Threads
have a problem in Using JSTL
cewolf problem in jboss
cewolf problem in jboss
getting java.lang.NoSuchMethodError when attempting to run strut eg
broken html causes an exception in Tomcat 5