2 Replies Latest reply on Sep 16, 2010 2:44 PM by P N

    Richfaces M2 jar missing ??

    P N Newbie

      Hallo,

       

      I am using Richfaces M1 and today i made an Update to M2. My xhtml contains a rich:datatable, and now i get the

      Error Message:

       

      java.lang.NoClassDefFoundError: com/google/common/base/Strings
           at org.richfaces.component.util.HtmlUtil.concat(HtmlUtil.java:134)
           at org.richfaces.component.util.HtmlUtil.concatClasses(HtmlUtil.java:147)
           at org.richfaces.renderkit.AbstractTableRenderer.mergeStyleClasses(AbstractTableRenderer.java:349)
           at org.richfaces.renderkit.AbstractTableRenderer.encodeRows(AbstractTableRenderer.java:97)
           at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:81)
           at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:163)
           at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:210)
           at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:159)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)
           at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1610)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
           at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:379)
           at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
           at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
           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:235)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)



      When I make a diff between Richfaces M1 and M2, Richfaces M2 does not have the jar

      richfaces-components-impl*.jar.

       

      Is this the Problem ??

       

      cheers

      Peter