[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5896) hibernate-entitymanager jar issue with Maven 3
Gail Badner (JIRA)
noreply at atlassian.com
Tue Feb 8 12:44:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner resolved HHH-5896.
------------------------------
Assignee: Gail Badner
Resolution: Rejected
Rejecting because this is not a Hibernate-specific problem.
> hibernate-entitymanager jar issue with Maven 3
> -----------------------------------------------
>
> Key: HHH-5896
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5896
> Project: Hibernate Core
> Issue Type: Bug
> Affects Versions: 3.5.1, 3.6.0, 3.6.1
> Reporter: Javed Mandary
> Assignee: Gail Badner
>
> Hi,
> I would seem that if you include the hibernate-entitymanager (3.6.1) dependency within your maven build and your using Maven 3 , this pulls the hibernate-3.2.5.ga.jar within your classpath somehow.
> Eventually what happens is that if you try to run your application within say tomcat and that bundles the hibernate-entitymanager jar as well as the hibernate-3.2.5.ga.jar you get the following exception:
> Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
> Solution which I've found is to move down to maven 2 or to expliclty or manually remove the hibernate-3.2.5.ga.jar from your build.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list