【问题标题】:Intellij won't start spring boot applicationIntellij 不会启动 Spring Boot 应用程序
【发布时间】:2016-12-16 21:34:22
【问题描述】:

我在 intellij 上启动 spring boot 应用程序时遇到问题,它失败并显示以下消息: 与目标VM断开连接,地址:'127.0.0.1:49784',传输:'socket'

进程以退出代码 255 结束 有人遇到过这种情况吗?

【问题讨论】:

  • 你使用的是什么运行配置?
  • 我只是使用Spring Boot插件并配置了SpringBoot主类。
  • 这个帖子似乎是off-topic,根据Questions that缺乏足够信息来诊断问题。请相应地编辑您的帖子以添加足够的细节,以便人们可以帮助您.

标签: intellij-idea spring-boot


【解决方案1】:

啊,我想通了。在 Spring boot 中有一个注册为 ApplicationStart 事件监听器的库。该侦听器出现故障,并且有代码使用 System.exit 停止进程。

【讨论】:

    猜你喜欢
    • 2017-11-19
    • 2021-09-07
    • 1970-01-01
    • 2016-03-29
    • 1970-01-01
    • 2015-02-21
    • 2016-12-28
    • 2017-07-16
    • 2015-03-25
    相关资源
    最近更新 更多