4 Replies Latest reply on Aug 3, 2007 3:47 PM by Igor Shabalov

    samples projects doesn't work

    Yevgen Tester Newbie

      got the samples, created with maven war files
      (for example webapp.war <- from dataTableDemo)

      and with tomcat 5.5

      the error

      org.apache.jasper.JasperException: Exception in JSP: /index.jsp:5
      
      2:
      3: <html>
      4:
      5: <head></head>
      6:
      7: <body>
      8:
      
      
      Stacktrace:
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      
      root cause
      
      javax.servlet.ServletException: javax/servlet/jsp/tagext/JspIdConsumer
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
       com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
       org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
       org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:275)
       org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      
      root cause
      
      java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/JspIdConsumer
       java.lang.ClassLoader.defineClass1(Native Method)
       java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
       org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       java.lang.ClassLoader.defineClass1(Native Method)
       java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
       org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       java.lang.ClassLoader.defineClass1(Native Method)
       java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
       org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1325)
       org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
       org.apache.jasper.compiler.Parser.parse(Parser.java:126)
       org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
       org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
       org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
       org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
       org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:428)
       com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:444)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
       org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
       org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:237)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:275)
       org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      


      what should i do?