Enabling GWT Support
IntelliJ IDEA supports the use of Google Web Toolkit through the dedicated GWT facet. Before you enable GWT support, make sure GWT SDK is downloaded and installed on your computer.
When you have downloaded and installed GWT SDK, there are several ways to enable the GWT support, depending on your context:
To have IntelliJ IDEA pick the path to the GWT installation folder every time you enable GWT support for a module, specify this path in the default GWT facet settings.
Configuring default path to GWT
Open the Project Structure dialog Ctrl+Shift+Alt+S.
Go to Facets, and select GWT.
In the Defaults tab, specify the path to the GWT installation folder. Click OK.