运行Spring Boot的时候报错:Web server failed to start. Port 8080 was already in use.

启动Spring boot项目的时候报错,错误如下:

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port.运行Spring Boot的时候报错:Web server failed to start. Port 8080 was already in use._第1张图片
报错的原因是8080端口被占用了

解决方案有二:
一、修改端口号

二、关闭占用端口号的进程

你可能感兴趣的:(Java,java)