views:

141

answers:

1

I am deploying my application to Tomcat 6.0.20.

Application uses Hibernate as ORM, Spring, and JSF for web-tier.

I also made simple runner from main() method to test Spring-Hibernate collaboration. And it does work fine and hibernate.cfg.xml is parsed pretty well.

I can append some code or full stack trace but I'm not sure that it's necessary because Google says that it's typical problem and it's easy to recognize it from the title. Unfortunately, I couldn't find the solution..

So, who knows how to fix this problem?

+4  A: 

Make sure you don't have two different dom4j jars on your classpath.

Bozho
like one in the tomcat system classpath and one in your webapp.
bmargulies