IntelliJ and Tomcat.. Howto..?

Mantar picture Mantar · Oct 28, 2010 · Viewed 231.3k times · Source

Using Netbeans, I develop sites with Tomcat as the local server to manage it. In Netbeans it was "Install, write hit Run and it works" How do I pull the same thing off in IntelliJ?

I can't find step-by-step instructions for this.

Answer

Steven Benitez picture Steven Benitez · Nov 6, 2010

NOTE: Community Edition doesn't support JEE.

First, you will need to install a local Tomcat server. It sounds like you may have already done this.

Next, on the toolbar at the top of IntelliJ, click the down arrow just to the left of the Run and Debug icons. There will be an option to Edit Configurations. In the resulting popup, click the Add icon, then click Tomcat and Local.

From that dialog, you will need to click the Configure... button next to Application Server to tell IntelliJ where Tomcat is installed.