Hi,

wayne wrote:

> Hi All:
> 
> I use [javaflow] Ant task with ASM transformer
> but it still terminates with java.lang.NoSuchMethodError:
> org.objectweb.asm.ClassWriter.<init>(ZZ)V
> 
> 
> Torsten mentioned the solution as follow:
> (http://mail-archives.apache.org/mod_mbox/commons-
user/200608.mbox/%3c98e4f1cd0608240555j5fd1ead9ma44d2f77ba7e7...@mail.gmail.com%3E)
> 
> 
>> For the task:
>> I tried asm 2.2.3 and asm 3.0 RC1, but I always get this exception:
>> java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(ZZ)V
>>
>> I can't make any sense out of it.
> 
> Looks like for some reason you have the wrong version of ASM in your
> classpath?!

Typically ASM versions are not compatible between major releases. Even 
worse, some 3rd party libraries contain silently some of the ASM classes 
without shading them. Can you therefore list your complete classpath here?

Torsten: Which version of ASM is used by Javaflow?

[snip]

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to