Reputation: 131
I created a REST service Spring Boot Application using Spring Tool Suite. In the STS IDE, I selected "Run As" > "Maven Install". This produced an executable jar. I double clicked the executable jar and I can access my web service by browsing to localhost:8080 in my browser.
The problem is I can't find the darn application on my Task Manager in order to close it! How do I locate and close this application?
Upvotes: 0
Views: 546
Reputation: 2555
Two suggestions:
mvn install
or Run As > Maven Install cause this will install the application into your local Maven repository which you might not want. A simple mvn package
or Run As > Maven build... and using a package as a goal over there will only put you the jar file in the target folder. Additional note: if you prefer to work on the command line you can also start your app using mvn spring-boot:run
.
Upvotes: 0