GWT Compilation Error - IncompatibleClassChangeError

前端 未结 8 2511
暗喜
暗喜 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:35

    For me, I wasn't using gwt-servlet.jar and dependencies were referencing old versions of it. I added the latest (matching my gwt-user.jar) as a regular dependency and Maven then knew to only use the latest version. You can check your dependency tree with mvn dependency:tree -Dverbose

提交回复
热议问题