why i can't success deploy struts1.1 example application to jboss3.2.5

04-10-13 njxz_fhw
please help me quickly.the following exception will pop when you access it's jsp page:

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLja

va/lang/String;ZZ)V

at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:568

)

at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)

at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)

at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)

at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)

at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)

at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)

at org.apache.jasper.compiler.Parser.parse(Parser.java:126)

at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)

at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)

at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j

ava:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:19

8)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja

va:72)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275

)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P

rotocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

16:43:58,353 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw excep

tion

banq
2004-10-17 09:52
Struts属于Web层,不需要在JBoss特别部署,如果有EJB,请研究打包和classloader问题。

njxz_fhw
2004-10-18 08:51
我的项目是 STRUTS1.1+EJB,部署完成后,访问有STRUTS TAG 的JSP页面时,会出现上面的异常.why?

猜你喜欢