Background: An error is reported when the springboot project starts: Web server failed to start. Port 8080 was already in use.
Reason for the error: The port is occupied.
solution
Modify the project application.properties configuration file, the file path is as follows
springboot\src\main\resources\application.properties
Insert in the application.properties configuration file
//8014是要修改未被占用的端口号
server.port = 8014
Just restart the project