IntelliJ IDEA 2019.2 Help

Creating a Module with a GWT Facet

When you create a module with a dedicated GWT facet, IntelliJ IDEA configures the module and adds all the necessary libraries automatically.

To create a module with a GWT facet

Depending on the situation, you can choose to create a new project or to add a module to an existing project.

  1. Do one of the following:

    • If you are going to create a new project: click Create New Project on the Welcome screen or select File | New | Project.

      As a result, the New Project wizard opens.

    • If you are going to add a module to an existing project: open the projectyou want to add a module to, and select File | New | Module.

      As a result, the New Module wizard opens.

  2. On the first page of the wizard, in the left-hand pane, select Java Enterprise. In the right-hand part of the page, specify the JDK to be used and select the Java EE version to be supported.

  3. Under Additional Libraries and Frameworks, select the Google Web Toolkit checkbox.

    In the GWT SDK field, specify the GWT SDK location. (To download the latest version of the GWT SDK, use the Download GWT link.)

    If you want a sample GWT application to be created, select the Create sample application checkbox and specify the application name in the field underneath.

    Click Next.

  4. Specify the name and location settings.

    Click Finish.

Last modified: 17 October 2019