简体   繁体   English

intellij 想法,maven spring-boot:运行不:不停止

[英]intellij idea, maven spring-boot:run doesn:'t stop

I can run my spring boot application with this command in maven我可以在 maven 中使用此命令运行我的 spring 引导应用程序

spring-boot:run

but I can not stop the application from the toolbar on intellij idea.但我无法从 intellij idea 的工具栏中停止应用程序。 I have no idea why this is happing.我不知道为什么会这样。

I'm using Openjdk-14 I also try this with openjdk-11 but not working too.我正在使用 Openjdk-14 我也尝试使用 openjdk-11 但也无法正常工作。

After I click the stop button terminal log this在我点击停止按钮终端后记录这个

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

When the terminal to start the application intelliJ does not know about the running state.当终端启动应用程序时,intelliJ 不知道正在运行的 state。 You will have to configure the run configuration under "Run" => "Edit configuration".您必须在“运行”=>“编辑配置”下配置运行配置。 Then you can start the application with the IDE然后您可以使用 IDE 启动应用程序

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

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