简体   繁体   中英

javax.servlet.ServletException: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected

I am struggling with this error , when i am publishing my JSP application in Tomcat7.0 i am getting this error

javax.servlet.ServletException: java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected

I don't know the exact reason for this error.

IncompatibleClassChangeError is usually caused by compiling against one version of a library and executing against a different version.

I would ensure that the version of JDK used for Tomcat7 is the same version as compiled org.objectweb.asm.MethodVisitor

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