当前位置: 代码迷 >> 综合 >> Disconnected from the target VM, address: ‘127.0.0.1:49748‘, transport: ‘socket‘
  详细解决方案

Disconnected from the target VM, address: ‘127.0.0.1:49748‘, transport: ‘socket‘

热度:96   发布时间:2023-12-20 22:36:46.0

文章目录

  • 一、Disconnected from the target VM, address: '127.0.0.1:49748', transport: 'socket'
  • 二、spring-boot-starter-web

一、Disconnected from the target VM, address: ‘127.0.0.1:49748’, transport: ‘socket’

在这里插入图片描述
缺少依赖

二、spring-boot-starter-web

<dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency>
</dependencies>

提供web开发常用配置,内嵌Tomcat

  相关解决方案