0 Replies Latest reply on Aug 5, 2010 9:26 AM by Vlade Maksimovic

    Richfaces and xmlbeans problem

    Vlade Maksimovic Newbie

      Hello, I have one simple jsf2 + richfaces(3.3.3 Final) application. But In my library I have xmlbeans.jar(org.apache.xmlbeans), when I deploy my application to jboss I got exception:


      15:04:56,271 WARN  [ClassLoaderManager] Unexpected error during load of:org.w3c.dom.TypeInfo: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) previously initiated loading for a different type with name "org/w3c/dom/TypeInfo"
          at java.lang.ClassLoader.defineClass1(Native Method)


      How to ensure that richfaces do not use this interface from xmlbeans.jar without removing jar file from library.

      This library is not need to my web application, but is need to be in my library for business logic.