Monday, May 2, 2011

Application need to be recompiled on a Tomcat server ? It's a GWT Maven Project ?

Hi,

I had this common error of compilation of Maven GWT project:
# "GWT module 'www.mysociety.Application' may need to be
(re)compiled" #
I tried several things I can found on the web, during 3 days.

People says always to "add ?gwt.codesvr=127.0.0.1:9997 after the url"
without understanding that the goal is to run a GWT Application not
under developpement mode server. Furthermore... this technic is not a
solution.

I post here a part of solution I tried just this morning and working
perfectly.

So... if the project is a Maven GWT one, and you want to deploy it on
Tomcat... try to:

--> delete the folder "groupId.artifactId.moduleName" in the folder
"src/main/webapp"
For me it was "www.mysociety.Application" folder to delete.
--> After the deployement of the project, clean the cache of the web
browser.
--> Try !

I hope that my solution will help someone.

Cordialy,

Alexis10

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment