0 Replies Latest reply on Apr 4, 2006 12:33 PM by Madhu Madhu

    java.lang.NoSuchMethodError: occured during compiling JSP

    Madhu Madhu Newbie

      We have a web-application say webtop.war which needs to be deployed in JBOSS.
      The application includes lots of its own TAGS used in application JSP's

      The following are modifications made to run.bat script to deploy the application.

      1.Modified the JBOSS_CLASS PATH to add various .jar files required by the application
      like

      JBOSS_CLASSPATH=%JAVAC_JAR%;%RUNJAR%;%DocumentumDctm%\dctm.jar;%DocumentumDir%\dfc.jar;%DocumentumDir%\dfcbase.jar;%DocumentumDir%\log4j.jar; blah ... blah..


      After modifying the run.bat script , the application was able to deploy and the folder structure is appeared in /default/server/temp/tmp46628webtop-exp.war.


      But the following errors occured when compiling the JSP's .I think this is related to compiling tags in JSP's


      2006-04-04 09:06:11,149 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 5m:31s:928ms

      2006-04-04 09:10:18,100 DEBUG [org.jboss.web.tomcat.tc5.jasper.TagLibCache] Scanning for tlds in: file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar
      2006-04-04 09:10:25,470 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/webtop].[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
      at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:435)



      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:1543)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
      at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      at com.documentum.web.form.FormProcessor.doFreshInclude(FormProcessor.java:896)
      at com.documentum.web.formext.component.URLDispatchBridge.dispatch(URLDispatchBridge.java:115)
      at com.documentum.web.formext.component.ComponentDispatcher.mapRequestToComponent(ComponentDispatcher.java:472)
      at com.documentum.web.formext.component.ComponentDispatcher.doGet(ComponentDispatcher.java:333)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at com.documentum.web.formext.component.ComponentDispatcher.doService(ComponentDispatcher.java:307)
      at com.documentum.web.formext.component.ComponentDispatcher.serviceAsNonController(ComponentDispatcher.java:145)
      at com.documentum.web.formext.component.ComponentDispatcher.service(ComponentDispatcher.java:126)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.documentum.web.servlet.CompressionFilter.doFilter(CompressionFilter.java:90)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.documentum.web.env.WDKController.processRequest(WDKController.java:90)
      at com.documentum.web.env.WDKController.doFilter(WDKController.java:79)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)


      Could any one suggest if any tag definitions/class are missing.
      or is it related to any JSP version compatibility.
      what actually caused NoSuchMethod error.