idea 启动springBoot项目异常:Disconnected from the target VM, address: '127.0.0.1:34364', transport: 'socket'

  • idea启动springBoot项目启动一半停止debug模式下报错:
    1
    2
    Disconnected from the target VM, address: '127.0.0.1:34364', transport: 'socket'
    Process finished with exit code 0


idea启动springBoot项目启动一半停止debug模式下报错:

1
2
Disconnected from the target VM, address: '127.0.0.1:34364', transport: 'socket'
Process finished with exit code 0

但是在eclipse上面没有任何问题
google以后查到一个解决方案删除pom引入的一个jar

1
2
3
4
5
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>

解决方案原地址:http://stackoverflow.com/questions/32758996/intellij-process-finished-with-exit-code-0-when-spring-boot-run

文章目录
,