[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222?page=c...
]
Ben Speakmon commented on HHH-2222:
-----------------------------------
I've finished the patch work -- basically I changed instances of "import
org.objectweb.asm." to "import net.sf.cglib.asm" and used the
cglib-nodep.jar instead of cglib.jar. Once this is done, the build completes normally and
all unit tests that passed before the change pass after it.
After this, Hibernate and Spring can share a dependency on cglib-nodep without further
conflict.
I didn't bother to make a patch since the required changes are pretty obvious and I
don't think Hibernate really wants to change their dependencies. If that's an
incorrect assumption, I'd be happy to make a formal patch.
SpringFramework 2.0 uses ASM.JAR versions 2.2.2. This is
incompatible with Hibernate 3.2 as it uses and "unknown" previous version of
ASM.JAR
----------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-2222
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222
Project: Hibernate3
Issue Type: Improvement
Affects Versions: 3.2.0.ga
Environment: Hibernate 3.2.0ga
Reporter: Greg McGregor
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
SpringFramework 2.0 uses ASM.JAR from ObjectWeb version 2.2.2. However, Hibernate
3.2.0ga utilizes an "unknown" previous version of the ASM.JAR. The issue is
that the method signatures and classes have changed between the two versions. Therefore,
Hibernate 3.2.0ga won't run with the new ASM.JAR and Spring 2.0 won't run with the
previous ASM.JAR. Mushing the two JARs together in an attempt to get something going
results in a NoSuchMethodError (which would make sense).
Although this isn't a direct Hibernate3 bug, it does preclude stable use with Spring
2.0/
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira