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

后端 未结 1 1065
-上瘾入骨i
-上瘾入骨i 2020-12-31 05:58

I\'m trying to prototype some pretty simple Hibernate code originating from a tutorial and am getting an error I don\'t understand deep in cglib2 (the full stack trace is at

相关标签:
1条回答
  • 2020-12-31 06:12

    You have mismatching versions of cglib and ASM. Stacktrace tells "net.sf.cglib.core.DebuggingClassWriter overrides final method visit", in other words net.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.

    0 讨论(0)
提交回复
热议问题