3 Replies Latest reply on Nov 22, 2007 7:12 AM by Viggo Navarsete

    java.lang.LinkageError

    asdf qwer Newbie

      Hi

      I'm using JBoss 4.0.5, myfaces 1.1.4 with richfaces 3.1.2.
      After implementing the tutorial Simple Ajax Echo Project from the JBoss RichFaces Documentation i get following exception:

      
      javax.servlet.ServletException: Servlet execution threw an exception
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      root cause
      
      java.lang.LinkageError: loader constraints violated when linking org/apache/commons/collections/Transformer class
       org.ajax4jsf.application.ComponentsLoaderImpl.<init>(ComponentsLoaderImpl.java:27)
       org.ajax4jsf.application.AjaxStateManager.<init>(AjaxStateManager.java:90)
       org.ajax4jsf.event.InitPhaseListener.beforePhase(InitPhaseListener.java:87)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:192)
       com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      any idea how to solve this?