简体   繁体   中英

Spring Framework - java.lang.IncompatibleClassChangeError: class net.sf.cglib.core.DebuggingClassWriter has interface org.objectweb.asm.ClassVisitor

While I was trying to run a simple static pointcut example in Spring on Eclipse, I came across this error message :-

java.lang.IncompatibleClassChangeError: class net.sf.cglib.core.DebuggingClassWriter has interface org.objectweb.asm.ClassVisitor

First, find out which cglib version is compatible with asm-3.1. Second, use only compatible version. Now you use 2 cglib jars of different versions (which is always bad).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM