今天搭建了一个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文件出了问题!

如图:

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'

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

 

 正常启动!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2021-12-15
  • 2021-04-03
  • 2021-05-11
  • 2021-07-05
猜你喜欢
  • 2021-12-09
  • 2021-11-24
  • 2021-06-03
  • 2021-08-28
  • 2021-04-07
  • 2021-09-03
相关资源
相似解决方案