On Wed, Sep 08, 2010 at 06:09:56AM -0700, chitrabhanu.das wrote: > Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be > cast to org.dom4j.DocumentFactory > Nested exception: > org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory > at org.dom4j.io.SAXReader.read(SAXReader.java:484) > at > org.hibernate.cfg.Configuration.addInputStream(Configuration.java:601)
Uh, it seems you have multiple versions of org.dom4j.DocumentFactory on your classpath. Might be better to fix that first. Arnout
