[jboss-user] [JBoss Tools (users)] - XML classloader issue deploying Seam Web Project WAR to AS 4

nickarls do-not-reply at jboss.com
Fri May 8 07:59:26 EDT 2009


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?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229692#4229692

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229692



More information about the jboss-user mailing list