首页 > 其他分享 >SpringBoot启动报错 Disconnected from the target VM, address: '127.0.0.1:61180', transport: �

SpringBoot启动报错 Disconnected from the target VM, address: '127.0.0.1:61180', transport: �

时间:2023-02-20 15:03:08浏览次数:55  
标签:127.0 SpringBoot 0.1 报错 61180 transport Disconnected

今天搭建了一个SpringBoot项目,刚启动就报错 Disconnected from the target VM, address: ‘127.0.0.1:61180’, transport: ‘socket

 

 百度一下,有人说端口占用,有人说Mavenban不兼容,我测试一下以前的项目可以正常运行,断定不是这些问题!仔细检查,原来是pom.xml文件出了问题!
之前是spring-boot-starter,应该是spring-boot-starter-web

 

 修改了之后就可以正常启动了。

标签:127.0,SpringBoot,0.1,报错,61180,transport,Disconnected
From: https://www.cnblogs.com/xubao/p/17137452.html

相关文章