GWT Compilation Error - IncompatibleClassChangeError

前端 未结 8 2526
暗喜
暗喜 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

    I had same issue when I migrated gwt from 2.6.1 to 2.8. Actually this error caused by asm dependency. Some of your server dependency has internal dependency to asm. In my case its cglib. So I changed cglib to cglib-nodep and it worked :-)

       
            cglib
            cglib-nodep
            3.2.1
        
    

提交回复
热议问题