commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@scalaris.com>
Subject Re: [Javaflow]java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(ZZ)V
Date Tue, 07 Jun 2011 09:15:05 GMT
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/%3C98e4f1cd0608240555j5fd1ead9ma44d2f77ba7e73bc@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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message