1. The default port of tomcat is 8080, you can modify the port through tomcat
Modify tomcat\conf\server.xml
As a result, the program still reports "Port 8080 required by Tomcat 9.0 Server at localhost is already in use..." error,
Remove the tomcat of eclipse and reconfigure it.