Error using ASMifierClassVisitor

I wanted to use ASMifierClassVisitor tool to get the asm code of creating a class but when I use it 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 used the code

ASMifierClassVisitor.main(new String[]{testforloops.Equivalent.class.getName()});

what is the problem here?


I corrected the issue. I had asm-util-2.3 before asm-util-3.3 in my classpath when I removed previous version of ASM I could run the code without any problem

Need Your Help

How to create a random closed smooth CGPath?

ios objective-c cocoa-touch uibezierpath cgpath

I am trying to find a way to create a random closed smooth path (CGPath or UIBezierPath). I have read about the De Casteljau's algorithm and tons other articles about Bezier paths but it does not s...

Load json format table into Pig

json table hadoop apache-pig

I have a table created with Hive. It takes a JSON format data (I have used SERDE to create it).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.