GAE + GWT + Maven + Eclipse

Error message

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.

Just documenting a few issues I've had in setting up GWT + GAE + Maven + Eclipse.

This is based on the sample "mobilewebapp" that comes with GWT (the version on master as of December 2015).

Eclipse not finding GAE

Eclipse might complain about not being able to find GAE under the ~/.m2/repository folder. To fix this, in the project's build path settings, under the "Order and Export" tab, put the Maven dependencies last.

"Choose war folder" prompt

WARNING: whatever folder you choose here will be deleted!!! When you try to run (as "Web Application (GWT Super Dev Mode)") and it asks you to choose the war folder, choose the target/${artifactId}-${version} folder.

GWT complains about CssResource

You need to add this to your .gwt.xml file:

<set-configuration-property name="CssResource.enableGss" value="true" />
<set-configuration-property name="CssResource.legacy" value="true" />
Tags: 

Add new comment