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
问题原因: 8080端口被占用
解决方法: 换一个端口, 在application.properties
中将server.port
设置为8081
即可,如下图所示