- This topic has 8 replies, 2 voices, and was last updated 17 years, 4 months ago by
Simon TOSSER.
-
AuthorPosts
-
Hello
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
March 5, 2008 at 12:24 pm #282499
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/March 5, 2008 at 5:06 pm #282536@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 ?
March 5, 2008 at 5:06 pm #282537@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 ?
March 6, 2008 at 6:43 am #282563
Loyal WaterMemberI guess you will have to do that. Let me know if that doesn’t work.
March 7, 2008 at 5:56 am #282617that’s not better when I change hibernate version.
March 7, 2008 at 5:57 am #282618I suppress srping-aop library and that’s work better
March 7, 2008 at 9:29 am #282626
Loyal WaterMemberThanks for posting your findings. We appreciate it.
March 7, 2008 at 9:31 am #282627@support-nipun wrote:
Thanks for posting your findings. We appreciate it.
off course when i finish my test
-
AuthorPosts