Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: > Hi, > > I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in > dependency hell for several hours. > > According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, > but the > cglib POM on repo1 [2] depends on asm 2.0
This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! >, which seems to > incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a > dependency on asm 1.4.3 [4]. > > I found out I can get my project to work by changing Hibernate's > dependency on asm from version 1.4.3 to 1.5.3 in my local repository, > but I'm not positive what's the reason for this mess. Anyone? The reason is the incompatibility from ASM 1.x to ASM 2.x. Same package names, but different/changed classes. > Cheers, > -Ralph. > > [1] http://cvs.sourceforge.net/viewcvs.py/springframework/spring/lib/ > readme.txt?rev=1.73&view=auto [2] > http://www.ibiblio.org/maven2/cglib/cglib/2.1_2/cglib-2.1_2.pom [3] > http://jroller.com/page/RickHigh?entry=migrating_from_hibernate_2_x > [4] http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.0.5/ > hibernate-3.0.5.pom - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]