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 have suggested to try when given this error message by GWT running in compiled mode. I've opened the WAR file created by maven and all the files are in the right place. I confirmed this against another GWT maven project that does not get this error. However, none of the below suggestions have corrected the problem. Nor have I been able to identify what difference is missing between these two projects -- the one that works and mine that will not run in compiled mode.
What else can I try?
Have you started the DevMode using your src/main/webapp
as the "war folder"? or in other words, is there a *.nocache.js
in your src/main/webapp
? In that case, this file will overwrite the one produced by the GWT compiler as called by the gwt-maven-plugin.
The *.nocache.js
generated by the DevMode (when no one exists, generated by a previous GWT compilation) contains only the necessary bits to launch the DevMode, and will otherwise fail with the above-mentioned error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With