To configure a server in the IDE, go to
and click the
|Add application server|
button. The IDE will automatically detect its version and offer ask
you to select which libraries to add to the dependencies when the server is used in the project.
defines how the artifacts are deployed to the server. IntelliJ IDEA has two types of Run configurations:
run configuration starts a new instance of the server and deploy deploys
artifacts there. The
run configuration deploys the artifacts to an already running standalone server.
is created, you can run or debug your application via the
, menu menu,
or the shortcuts: