I started a spring boot application using gradle bootRun
.
Doing ctrl-c in the terminal where I launched the command does not stop the application.
What is then the correct way of stopping it?
I started a spring boot application using gradle bootRun
.
Doing ctrl-c in the terminal where I launched the command does not stop the application.
What is then the correct way of stopping it?
You can use the command gradle -stop
to stop the Spring Boot application.
./gradlew -stop
and it worked for me. Thanks a lot! –
Devries Not sure what operating system you are using but I am on a mac and was having the same problem, command + C wasn't working (on a mac the command key is equal to the Windows control key) but I used control+C and it did work. If you're on a Windows machine this doesn't help you but thought this might help others who are new to a mac.
© 2022 - 2024 — McMap. All rights reserved.
Ctrl
+C
few more times? TryCtrl
+D
? Are you using Gradle Daemon? Try to disable it (--no-daemon
)? – Marianomaribel