Home > Enterprise >  Create GWT project in Intellij IDE
Create GWT project in Intellij IDE

Time:05-06

I'm beginner in using IntelliJ IDEA IDE and I want to create a new GWT project. I have added the GWT plugin to IntelliJ IDEA and now and I want to create a project. I googled but I didn't find a helpful tutorials or examples. Did you have guys a helpful tutorials to start. Thanks in advance.

CodePudding user response:

Do not use the GWT project builders from IntelliJ or Eclipse. Both generate projects which use the same class path for client and server. In todays GWT development it is common to use a separate class path for client and server.

Depending on the server you prefer to use, choose:

New Project Wizard

  1. Click Next, and fill in the rest of needed info for your new project (this has nothing to do with GWT).

You'll end up with something like this:

enter image description here

If you followed the steps closely, the sample project should be fully functional. IntelliJ should've created a Run configuration for you, too, so you can run the GWT app right away and see it in action:

enter image description here

This is all explained in the official help documentation for IntelliJ 2020.1, which was the last version to include GWT support out of the box.

  • Related