I heard that you are also troubled by configuring the tomcat server, read my article, let you enlighten yourself!

1. Create a project through maven

2. Download tomcat server

We generally download tomcat on the tomcat official website

Apache Tomcat® - Welcome!

3. Add configuration: we click the file configuration in the figure below

 

 

 

 

 4. Test configured tomcat

We enter the test content in the body of the file:

 Explicit tomcat running information in the console:

 Our test content can be output normally in the browser, and the tomcat server is successfully set up

Guess you like

Origin blog.csdn.net/m0_65431718/article/details/129953840