2 Replies Latest reply on Oct 8, 2007 7:13 AM by Franck MARTIN

    NoClassDefFoundError: org/cyberneko/html/filters/ElementRemo

    Franck MARTIN Newbie

      Does anyone know why adding the following leads to an error ?

       <context-param>
       <param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
       <param-value>TIDY,NEKO,NONE</param-value>
       </context-param>
      
       <context-param>
       <param-name>org.ajax4jsf.xmlparser.TIDY</param-name>
       <param-value>webdoc.xhtml</param-value>
       </context-param>
      


      This is for deactivating the richfaces filter on the pages that provide download fields such as pdf. (because there's a bug in this filter)


      java.lang.NoClassDefFoundError: org/cyberneko/html/filters/ElementRemover
       at org.ajax4jsf.webapp.nekko.NekkoParser.<init>(NekkoParser.java:81)
       at org.ajax4jsf.webapp.ConfigurableXMLFilter$NekoParserConfig.createParser(ConfigurableXMLFilter.java:140)
       at org.ajax4jsf.webapp.ParserConfig.getParser(ParserConfig.java:30)
       at org.ajax4jsf.webapp.ParserConfig.getParser(ParserConfig.java:34)
       at org.ajax4jsf.webapp.ConfigurableXMLFilter.getParser(ConfigurableXMLFilter.java:109)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:259)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:595)
      



      I understand that i don't have this class (org/cyberneko/html/filters/ElementRemover) in my classpath but i don't know why it does not come with the richfaces nor which filter is used in what order when org.ajax4jsf.xmlparser.ORDER is not defined in web.xml.