Re: Re: Re: How to initialize a static field

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Le 09/11/2010 16:32, Jayanga Wagaarachchi a écrit :
>
>
> I tried using the  ASMifierClassVisitor but when it used in command 
> line I get the error NoClassDefFoundError 
> org.objectweb.asm.util.ASMifierClassVisitor
>
> then I tried it with using the code ASMifierClassVisitor.main(new 
> String[]{testforloops.Equivalent.class.getName()});
>
>
> then I get the error
> |java.lang.NoSuchMethodError:  org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;[Lorg/objectweb/asm/Attribute;Z)V
>
>          at org.objectweb.asm.util.ASMifierClassVisitor.main(Unknown  Source)|
> I have no idea why does this error happens. It would be a real help if 
> I could work with ASMifierClassVisitor
>
> -- 
> Jayanga Wagaarachchi
> Computer Science and Engineering
> University of Moratuwa.

the classpath must contain asm-all.jar

Rémi
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.