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

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

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

如图:

 

修改之后:

 

 正常启动!

posted @ 2019-03-02 20:25  申来来  阅读(52130)  评论(3编辑  收藏  举报