简体   繁体   English

Intellij无法启动Spring Boot应用程序

[英]Intellij won't start spring boot application

I'm facing problem while starting a spring boot app on intellij and it fails with below message: Disconnected from the target VM, address: '127.0.0.1:49784', transport: 'socket' 我在intellij上启动spring boot应用程序时遇到问题,它失败并显示以下消息:与目标VM断开连接,地址:“ 127.0.0.1:49784”,传输:“ socket”

Process finished with exit code 255 Anyone has faced this before? 退出代码为255的过程结束以前有人遇到过吗?

Ah I figured it out. 我知道了。 There was a library which was registered as ApplicationStart event listener in Spring boot. 有一个库在Spring Boot中注册为ApplicationStart事件侦听器。 That listener was was failing and there was code which was stopping the process with System.exit. 该侦听器发生故障,并且有一些代码正在停止System.exit的进程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM