Hi, the problems you are having are caused by mixing incompatible versions of the libraries. All of hibernate-entitymanager, hibernate-infinispan, hibernate-ehcache, hibernate-proxool, hibernate-c3p0, hibernate-envers, hibernate-osgi, hibernate-annotations AND hibernate-core need to use the exact same version, always.
Only these three modules follow an independent versioning: - org.hibernate.ogm:* - hibernate-search - hibernate-commons-annotations
To pick a compatible version of these extension modules, please look into the pom.xml of these projects to check if they are compatible with the Hibernate ORM version you picked for the first (longer) list. Each of these is designed to be compatible to a specific version of Hibernate ORM, but in this case you should be able to ignore mismatches on the micro version.
So for example, both Hibernate Search version 4.5.0.Final and 4.5.1.Final are compatible with Hibernate core 4.3.0.Final, and also with 4.3.1.Final, 4.3.2.Final, 4.3.3.Final, 4.3.4.Final, 4.3.5.Final and also expected to work with 4.3.6.Final when this will be released.
_________________ Sanne http://in.relation.to/
|