Failed to start component [Connector[HTTP/1.1-8080]]

阅读 119

2023-01-18


​​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

问题原因: 8080端口被占用

解决方法: 换一个端口, 在​​application.properties​​​中将​​server.port​​​设置为​​8081​​即可,如下图所示

Failed to start component [Connector[HTTP/1.1-8080]]_java_02


精彩评论(0)

0 0 举报