【问题标题】:intellij idea, maven spring-boot:run doesn:'t stopintellij 想法,maven spring-boot:run 不会:'t stop
【发布时间】:2020-08-22 14:19:14
【问题描述】:

我可以在 maven 中使用这个命令运行我的 Spring Boot 应用程序

spring-boot:run

但我无法从 intellij idea 的工具栏中停止应用程序。我不知道为什么会这样。

我正在使用 Openjdk-14,我也尝试使用 openjdk-11,但也无法正常工作。

在我点击停止按钮终端后记录这个

Disconnected from the target VM, address: '127.0.0.1:51890', transport: 'socket'

【问题讨论】:

  • 为什么不从 IDE 启动 Spring Boot 应用?
  • @khmarbaise 因为我使用的是社区版。

标签: java maven intellij-idea


【解决方案1】:

当终端启动应用程序时,intelliJ 不知道运行状态。您必须在“运行”=>“编辑配置”下配置运行配置。然后就可以用IDE启动应用了

【讨论】:

  • 我已经像你说的那样启动应用程序了。但我无法阻止它。
  • 你是使用“Maven”模板还是喜欢Spring boot?
猜你喜欢
  • 2018-01-07
  • 2020-09-27
  • 1970-01-01
  • 2018-01-07
  • 2014-06-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多