I installed Tomcat with home brew brew install tomcat
. On Selecting Tomcat server to add a server to the application server I get this
Warnin
Authorise permissions on Tomcat folder:
Open tomcat location e.g. C:\Program Files\Apache Software Foundation\Tomcat 9.0
Double click this folder.
Authorise permissions.
Now try creating the server...
Try selecting the libexec
subdirectory in IntelliJ - i.e. /usr/local/Cellar/tomcat/8.5.9/libexec
I did what CallmeSurge suggested, except I had to change the following:
Step 3: Create a new Tomcat Runtime Configuration
Now, deploying to tomcat is as easy as selecting the runtime configuration you just created and hitting the Debug or Run arrows.