1. Start->Run->cmd->netstat -a -n and confirm whether port 8080 is in use. If so, continue to 2. Otherwise, it is not within the scope of this article. Please google it yourself.
2. Use firewalls such as Skynet and Kaspersky to see which program is occupying port 8080. If the program is not important, then close the program, or even uninstall the program, continue to 4; otherwise, the program is too important to stop, then continue to 3.
3. Modify the server.xml in the conf folder of tomcat to be started, and add tomcat The port is changed from the default 8080 to another non-conflicting port such as 8088.
4. Restart tomcat. If the problem is still that port 8080 is occupied, then continue with 1. Otherwise, it is not within the scope of this article. Please google it yourself.