GWT Compilation Error - IncompatibleClassChangeError

前端 未结 8 2527
暗喜
暗喜 2021-02-14 10:07

When compiling the project, I get this obscure Exception

Looking for precompiled archives.  To disable, use -Dgwt.usearchives=false
Loading archived module: jar:         


        
8条回答
  •  梦谈多话
    2021-02-14 10:23

    Please try it again after removing all the generated stub and re-compiling the project again.

    I have highlighted all the stubs that needs to be deleted as shown in below snapshot.

    enter image description here

    Here is the list of folders (name can vary based on your GWT project compilation module name) that need to be removed.

    • gwt-unitCache
    • test-classes
    • war > gwtproject
    • war > WEB-INF > classes
    • war > WEB-INF > deploy

提交回复
热议问题