Verify the connector‘s configuration, identify and stop any process that‘s listening on port 8080, o

在idea的运行SpringBoot项目时,出现Verify the connector’s configuration, identify and stop any process that’s listening on port 8080, or configure this application to listen on another port.

说tomcat端口被占用了,我去cmd里netstat -ano|findstr "8080"和tasklist|findstr "8080"在这里插入图片描述回去运行,还是说我的tomcat端口被占用,证明我的电脑用cmd命令杀死这个程序是不行的。
我就查询了资料,在SpringBoot是嵌入Tomcat的,无须我们启动电脑上的tomcat,我想可能是我的本地的tomcat启动的原因。
在这里插入图片描述我又打开我打开Server,找到Tomcat服务,关闭了Tomcat服务后,我又去idea中运行我的项目。
就成功了!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值