Abbadon
Abbadon

Reputation: 2713

Gradle > How to stop a Spring Boot application launched with gradle bootRun?

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?

Upvotes: 27

Views: 19004

Answers (2)

Marcelino Lucero III
Marcelino Lucero III

Reputation: 523

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.

Upvotes: 5

khwilo
khwilo

Reputation: 521

You can use the command gradle -stop to stop the Spring Boot application.

Upvotes: 17

Related Questions