Click , point to
Web Application: Archive and select
For 'JavaEEHelloWorld: war exploded'.
A new artifact configuration is created and its settings are shown in the right-hand part of the dialog.
Create a manifest file for your archive: click
Create Manifest and agree to the location suggested by IntelliJ IDEA (web/META-INF/MANIFEST.MF). Click
OK in the
Project Structure dialog.Select
Build | Build Artifacts. In the
Build Artifact popup, point to
JavaEEHelloWorld:war and select
Build.
Now if you look at the out/artifacts/JavaEEHelloWorld_war folder, you'll see the archive there.