java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter spring spring

java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter


You have mismatching versions of cglib and ASM. Stacktrace tells "net.sf.cglib.core.DebuggingClassWriter overrides final method visit", in other wordsnet.sf.cglib.core.DebuggingClassWriter which extends org.objectweb.asm.ClassWriter tries to override final method visit, which of course fails.

For example maven dependendy for cglib 2.2.2 pulls asm 3.3.1, so this is one combination worth of trying.