method must call super() error in Netbeans

前端 未结 5 1164
借酒劲吻你
借酒劲吻你 2020-11-30 15:12

Recently I\'ve made a Netbeans project and I am using SVN along with it. I am seeing duplicate class error, and in the console it says

java.lang.VerifyError: (

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 15:35

    I found that renaming the package did not work, the old package was still there.

    The problem for me started when I copied a package from another application into the current application, which already had a package with the same name. I was trying to add some missing classes to the package. After I did that, the error started.

    To resolve it, I deleted the entire package from the target web app and did a clean and build. Then I copied the source package into the target application. No errors.

提交回复
热议问题