- This topic has 8 replies, 2 voices, and was last updated 16 years, 8 months ago by Simon TOSSER.
-
AuthorPosts
-
Simon TOSSERParticipantHello
I’m working around a J2EE project wich use Srping and Hibernate.
I have a problem on application loading with spring and asm librairies.If i want to use Spring-aop with asm-2.2.3 library I have this message :
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)But when I suppress library asm-2.23 and use another version (1.53), that’s work fine….
Any idea ?
ThanksSimon
Loyal WaterMemberSimon,
I did some googling and found out that this is due to some incompatibilities between the asm versions. I guess your problem is similar to this.
http://blog.springsource.com/main/2007/06/11/asm-version-incompatibilities-using-spring-autowired-with-hibernate/
Simon TOSSERParticipant@support-nipun wrote:
Simon,
I did some googling and found out that this is due to some incompatibilities between the asm versions. I guess your problem is similar to this.
http://blog.springsource.com/main/2007/06/11/asm-version-incompatibilities-using-spring-autowired-with-hibernate/Yes that’s the same problem.. when i build project with maven I don’t have any problem but how can I solve It with MyEclipse ? May be change Hibernate Version ?
Simon TOSSERParticipant@support-nipun wrote:
Simon,
I did some googling and found out that this is due to some incompatibilities between the asm versions. I guess your problem is similar to this.
http://blog.springsource.com/main/2007/06/11/asm-version-incompatibilities-using-spring-autowired-with-hibernate/Yes that’s the same problem.. when i build project with maven I don’t have any problem but how can I solve It with MyEclipse ? May be change Hibernate Version ?
Loyal WaterMemberI guess you will have to do that. Let me know if that doesn’t work.
Simon TOSSERParticipantthat’s not better when I change hibernate version.
Simon TOSSERParticipantI suppress srping-aop library and that’s work better
Loyal WaterMemberThanks for posting your findings. We appreciate it.
Simon TOSSERParticipant@support-nipun wrote:
Thanks for posting your findings. We appreciate it.
off course when i finish my test
-
AuthorPosts