IDEA--How to configure tomcat in IDEA and create a tomcat project?

How to configure?

1. Run — Edit Configurations in the menu bar
Insert picture description here
2. Templates — Tomcat Server — Local — Click Configure to select the folder where Tomcat is located (the port number will not be changed) — Click OK
Insert picture description here

How to create?

New — Moudle — Java Enterprise — Check Web Application — Check xml
Insert picture description here

Guess you like

Origin blog.csdn.net/Forest_2Cat/article/details/107631273