welcome to my blog
问题描述: 执行spring boot项目时报错: Failed to start component [Connector[HTTP/1.1-8080]] 以及 Caused by: java.net.BindException: Address already in use: bind
![在这里插入图片描述 Failed to start component [Connector[HTTP/1.1-8080]]_spring](https://file.cfanz.cn/uploads/png/2023/01/18/2/54e72648TI.png)
问题原因: 8080端口被占用
解决方法: 换一个端口, 在application.properties中将server.port设置为8081即可,如下图所示
![在这里插入图片描述 Failed to start component [Connector[HTTP/1.1-8080]]_java_02](https://file.cfanz.cn/uploads/png/2023/01/18/2/L12cJcD7N7.png)










