File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Hibernate: org.springframework.beans.factory.BeanCreationException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Hibernate: org.springframework.beans.factory.BeanCreationException" Watch "Hibernate: org.springframework.beans.factory.BeanCreationException" New topic
Author

Hibernate: org.springframework.beans.factory.BeanCreationException

Frank VanOor
Ranch Hand

Joined: Jun 18, 2004
Posts: 49
I'm using spring 3.0.5, tomcat 6.0.16 and would like to intergrate Hibernate.
When Tomcat starts, the following exception occurs:




application context






part of pom.xml





Many thanks in advance.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Try googling, Caused by: java.lang.IncompatibleClassChangeError: Implementing class.
The issue might because of some hibernate jar mismatched version, also check if app server lib doesn't already got some hibernate jar.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Frank VanOor
Ranch Hand

Joined: Jun 18, 2004
Posts: 49

Thanks for info.
The server doesn't have any hibernate jar.
Can somebody give a list of jars which I should use in my pom.xml. I looks like there is a conflict with jars.
Frank VanOor
Ranch Hand

Joined: Jun 18, 2004
Posts: 49

Since Hibernate 3.6 you don't need to add Hibernate Annotations as a separate jar, the classes are merged in core (and the old ones are not compatible).
I removed Hibernate-annotations.jar from the POM, and no exception anymore when tomcat starts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate: org.springframework.beans.factory.BeanCreationException