Re: Error when using CheckClassAdapter

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Not at runtime.

"Exception in thread "main" java.lang.NoSuchMethodError:
>org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;Z)V
>          at org.objectweb.asm.util.CheckClassAdapter.verify(Unknown Source) "


Here you look for a ClassReader.accept(ClassVisitor,boolean)
but since ASM3 accept() takes an int as last parameter.

So in your classpath, you have a jar that contains a version of ASM2
before the ASM3 jars.

Rémi

On 07/17/2011 09:20 AM, Jayanga Wagaarachchi wrote:
>
>
> On Sun, Jul 17, 2011 at 7:53 PM, Remi Forax <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Wild guess, you have updated asm.jar but not asm-util.jar?
>
> I have used asm-3.3.jar and asm-util-3.3.jar
>
>
>
> -- 
> Jayanga Wagaarachchi
> Computer Science and Engineering
> University of Moratuwa.
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.