0
点赞
收藏
分享

微信扫一扫

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


​​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 条评论