Most are direct oh,
Click where to add the Tomcat configuration page
After the page appears, follow the order and click the + sign
Tomcat Service, Local
Note that this is not the wrong choice, there is a Tomee service!
Configure it as shown in the figure below.
The configuration meaning of the place representation of the numbers in the figure:
1 represents the name, giving the configured tomcat a name.
2 represents the installation path for configuring Tomcat.
3 for the Tomcat server after startup, the default open browser, according to their own habits open.
4 represents the browser display path, according to their preferences can be changed.
Both 5 and 6 are default and do not need to be modified.
Configure Deployment,webapp as the webapp of the project, the name can be defined by itself, do not forget to add "/".
If you can't start a Web project after you've configured Tomcat, you can try the following methods:
Web Settings for Facets
Add artifacts
Add Tomcat again
Start Tomcat
Intellij idea creates a Web project configuration tomcat and launches the MAVEN project (GO)