During Eclipse web project debugging, the system automatically switches to the debug mode and restarts Tomcat, so the port is occupied by the debug process. Solution: Windows –perference– Java — DEBUG Deselect the check box in the following figure