Error : java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.(I)V?

You have an incompatibility between the version of ASM required by 5.3. Jar ) and the one required by Spring. But, actually, I wonder why you have asm-2.2.3. Jar on your classpath (ASM is bundled in spring.

Jar and spring-core. Jar to avoid such problems AFAIK). See HHH-2222.

You have an incompatibility between the version of ASM required by 5.3. Jar) and the one required by Spring. But, actually, I wonder why you have asm-2.2.3. Jar on your classpath (ASM is bundled in spring.

Jar and spring-core. Jar to avoid such problems AFAIK). See HHH-2222.

This is a correct answer – tesh Solanki Mar 23 '10 at 8:36 1 In my case, I had the wrong version of cglib. Jar, but had the same exact error. Now I have both cglib-2.1.3 and cglib-2.2 and it works.

– Chris Serra Apr 25 at 18:51.

I found the solution to this problem here: hildeberto.com/2008/05/hibernate-and-jer....

This worked for me too... – firemonkey May 19 at 16:21 worked for me too – islon Sep 30 at 19:50.

The NoSuchMethodError javadoc says this: Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. In your case, this Error is a strong indication that your webapp is using the wrong version of the JAR defining the org.objectweb.asm.

* classes.

I change my APIs as * cglib --- to ---> cglib-nodep-2.2. Jar * cglib-asm --- to ---> cglib-asm. Jar (i.e. Latest one ) By Narendra Choyal.

I had the same error when initializing Spring on startup, using some different library versions, but everything worked when I got my versions in this order in the classpath (the other libraries in the cp were not important): asm-3.1. Jar cglib-nodep-2.1_3. Jar asm-attrs-1.5.3.jar.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions