GWT module may need to be (re)compiled REDUX

前端 未结 8 1683
日久生厌
日久生厌 2020-11-27 03:30

When running in compiled mode I get this dreaded GWT Module \'mymodule\' may need to be (re)compiled dialog message.

I\'ve compiled a list of the things that others

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-27 04:34

    My Dev mode was correctly configured and above solution didn't work. Following did solve the issue though.

    Multiple steps:

    1. Update Project properties -> deployment Assembly using Deploy GWT maven project with eclipse deploys webapp directory instead of target/project directory
    2. mvn clean package
    3. mvn gwt:compile
    4. In eclipse, click on 'GWT Compile Project' -> Advacned -> Remove '-war src/main/webapp' argument and hit compile.

    Output should be like this - Linking into target/project-1.0-SNAPSHOT/ModuleName

    ... and deployment works fine.

提交回复
热议问题