• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Hibernate: org.springframework.beans.factory.BeanCreationException

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Frank VanOor
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic