Error : java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.(I)V

前端 未结 9 2123
迷失自我
迷失自我 2020-11-27 06:24

I am developing a small Spring application. I have to store the details of the student information in the database. I have developed one SimpleFormController. I have used Ne

9条回答
  •  粉色の甜心
    2020-11-27 06:55

    The NoSuchMethodError javadoc says this:

    Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

    Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.

    In your case, this Error is a strong indication that your webapp is using the wrong version of the JAR defining the org.objectweb.asm.* classes.

提交回复
热议问题