Closed dankurka closed 9 years ago
I have encountered the exact same problem! Have you found a solution for it?
Reported by thobias.karlsson
on 2010-11-21 20:37:27
Same issue here... got the message "GWT module 'stockwatcher' may need to be (re)compiled"...
ideas?
Reported by thiefofwisdom
on 2011-01-18 18:44:20
Same error with eclipse Galileo and GWT plugin 3.5. A lot of time and this problem has
not been corrected
Reported by oscarcascantefonseca
on 2011-03-11 16:26:08
Hi guys. I had the same problem. This solved the problem for me:
http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html
=> So in order to make the production WAR file you need to make:
mvn clean gwt:compile package
Reported by HenkHb1
on 2011-04-15 13:11:19
Could it be because gwt-maven-plugin tries to not recompile the app if it thinks it
doesn't need too? It does so probably by comparing the *.nocache.js timestamp with
the timestamps of source files, so if you cleaned then ran your app in devmode (which
generated a minimal *.nocache.js) and then compile without changing your code, the
plugin probably thinks it doesn't need to compile the app.
If my analysis is correct, you can do an "mvn -Dgwt.compiler.force=true gwt:compile
package" to force the GWT compilation, without the other steps –such as Java compilation–
that a "mvn clean" would have implied.
Reported by t.broyer
on 2011-04-15 21:44:18
It's not an issue with GWT proper, as the GWT compiler always overwrites the *.nocache.js
file. It might be an issue with the gwt-maven-plugin, though I'd rather say the problem
is about how it's being used: see http://stackoverflow.com/a/5745870/116472 for instance,
and comment #5 above.
Reported by t.broyer
on 2012-08-23 11:39:40
Invalid
Originally reported on Google Code with ID 5511
Reported by
westerhoff
on 2010-10-30 08:27:19