IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Run/Debug Configuration: Jetty Server

Last modified: 01 August 2022

Run | Edit Configurations | Icons general add | Jetty Server | Local or Remote

Jetty Server run/debug configurations let you deploy and debug your applications on Jetty. The Jetty Integration plugin must be enabled.

See also, Application server run configurations.

Server tab for a local configuration



Server tab for a remote configuration



An example of remote staging settings for a mounted folder



Assuming that:

  • C:\shared is a shared folder on the remote host, which is mounted to the local computer as the drive X:.

  • Jetty is installed in C:\shared\jetty-distribution-9.2.7.v20150116.

  • The folder that you are going to use for staging is C:\shared\staging.

Here are the corresponding remote staging settings:

  • Type: Local or mounted folder.

  • Host: The configuration should be selected in which the value in the Folder field is X:\ (the Upload/download project files section on the Connection tab of the Deployment dialog).

  • contexts/Path from root: jetty-distribution-9.2.7.v20150116\webapps (For Jetty 8 or earlier version, that would be something like jetty-distribution-8.0.1 .v20110908\contexts.)

  • Staging/Path from root: staging

  • Staging/Mapped as: C:\shared\staging