0 Replies Latest reply on May 8, 2009 7:59 AM by nickarls

    XML classloader issue deploying Seam Web Project WAR to AS 4

    nickarls

      Using the latest tools, create a new Seam Web Project (WAR), leaving libraries at default, deploying to a AS 4.2.2.GA I get a

      14:49:37,033 ERROR [[/OSTi3]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.LinkageError: loader constraint violation: when resolving method "org.dom4j.io.SAXReader.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/jboss/seam/util/XML, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, org/dom4j/io/SAXReader, have different Class objects for the type org/xml/sax/EntityResolver used in the signature


      I have one JAR too many somewhere? Or in the wrong place?