0 Replies Latest reply on Dec 13, 2005 2:54 AM by Rajendra prasad

    error while running the web module.

    Rajendra prasad Newbie

      I install and configured the JBOSS with eclipse IDE. Every thing is fine with packaging, the server configuration and also running the server fine. But when i tried to view jsp page i got the following error


      javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      root cause

      java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
      org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572)
      org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
      org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
      org.apache.jasper.compiler.TagLibraryInfoImpl.(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:1543)
      org.apache.jasper.compiler.Parser.parse(Parser.java:126)






      in server

      12:37:06,074 INFO [EJBDeployer] Deployed: file:/E:/jboss-4.0.3/server/default/deploy/CDBService.jar
      12:37:06,434 INFO [EjbModule] Deploying CommonCodeEJB
      12:37:06,512 INFO [ProxyFactory] Bound EJB Home 'CommonCodeEJB' to jndi 'CommonCodeEJB'
      12:37:06,512 INFO [EJBDeployer] Deployed: file:/E:/jboss-4.0.3/server/default/deploy/commoncodeslistclient.jar
      12:37:07,574 INFO [TomcatDeployer] deploy, ctxPath=/cdb, warUrl=.../tmp/deploy/tmp52452cdb-exp.war/
      12:37:07,715 INFO [WebappClassLoader] validateJarFile(E:\jboss-4.0.3\server\default\.\tmp\deploy\tmp52452cdb-exp.war\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      12:37:07,715 INFO [WebappClassLoader] validateJarFile(E:\jboss-4.0.3\server\default\.\tmp\deploy\tmp52452cdb-exp.war\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
      12:37:07,887 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
      12:37:07,887 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
      12:37:08,324 INFO [PropertyMessageResources] Initializing, config='com.tnt.cdbsystem.presentation.struts.resources.ApplicationResources', returnNull=true
      12:37:08,340 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
      12:37:08,387 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
      12:37:08,684 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      12:37:09,246 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      12:37:09,543 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      12:37:09,590 INFO [JkMain] Jk running ID=0 time=0/125 config=null
      12:37:09,621 INFO [Server] JBoss (MX MicroKernel) [4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510041704)] Started in 47s:858ms
      13:22:19,197 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
      at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572)
      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.(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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)