Recent Posts
Archives

PostHeaderIcon org.objectweb.asm.ClassWriter.

On calling:

MockClassControl.createStrictControl(Toto.class);

Error:

java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V

Fix: add a dependency to cglib-full-2.0.2.jar before the other dependencies.

Leave a Reply