0 Replies Latest reply on Jan 20, 2010 5:18 PM by Davide Gurgone

    Dom4j Class Cast Exception on Startup

    Davide Gurgone Newbie

      Hi all,
      I'm quite new to seam and I'm finding some troubles to configuring project to use dom4j.

      I added dom4j jar to seam-gen created lib folder and all of its dependencies.

      When I explode project to jboss, I register an exception:

      > java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser cannot be cast to org.xml.sax.XMLReader

      I think, reading previous posts, it depends on a conflict between some jars, but since now I've not been able to find it..

      With eclipse excludes one single jar is terrible, so I'm trying to do that using netbeans.

      I hope to find it as soon as possible.. Any help is needed!