1. Get Tomcat
http://tomcat.apache.org/
2. Set Tomcat on IntelliJ
2.1. New Project – Java Enterprise – Web Application
Application Server : Set path to Tomcat Directory
2.2. Setup detail Tomcat Server When complete make new Project
[Run] – Edit Configurations…
You can modify HTTP Port, etc environment.
2.3. Run Tomcat
Run – Run ‘Tomcat’ (Shift + F10)
3. Reference URL
http://godahye.tistory.com/entry/intellij%EC%97%90%EC%84%9C-tomcat%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0
https://cjh5414.github.io/intellij-web-project/