IntelliJ IDEA 14.0.0 Web Help

Enabling Java EE Application Support

Java EE application development support in a module is represented by a Java EE Application facet.

A module can have more than one Java EE Application facet.

Adding a Java EE Application facet to a module

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. In the leftmost pane, select Modules.
  3. In the pane to the right, select the module of interest.
  4. Click add (Alt+Insert) and select JavaEE Application.
  5. Click OK in the Project Structure dialog.

Managing Java EE Application facet resources

  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. In the leftmost pane, select Modules.
  3. In the pane to the right, expand the module of interest and select its Java EE application facet (shown as javaEEApplication).
  4. On the Java EE Application Facet page that open in the right-hand part of the dialog:
    • To replace the deployment descriptor file with a different application.xml file: under Deployment Descriptors, select the file and click edit1. In the dialog that opens, specify the path to the necessary file and click OK.
    • To regenerate application.xml: delete the existing file (delete) and then create a new file (add).
    • To create an application-server-specific descriptor file: click Add Application Server specific descriptor. In the dialog that opens, select the server and the associated options, and click OK.

      Once the file has been created, you can perform with it the same operations as with application.xml.

Fixing project configuration problems

See Also

Last modified: 4 December 2014
comments powered by Disqus