This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262173

Summary: Unable to stop Spring Boot running application via stop button in the Output window
Product: platform Reporter: satory
Component: ExecutionAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description satory 2016-05-21 20:01:29 UTC
I have set up a Spring Boot application that uses embedded Tomcat.

I can start this no problem, but I can't stop it in the Output window when I press the Stop executing the current build button.

In order to run my application again, I need to kill tomcat from a terminal, before running the application again.

Expected Result:
I'd expect the stop button to stop the application
Comment 1 Petr Hejl 2016-05-30 10:52:47 UTC
What is the project type? What is the action in the IDE to start the project?
Comment 2 satory 2016-05-31 05:39:05 UTC
Hi Petr,

The project type is a standard java maven project.

And the Run action is as follows:

Execute Goals: process-classes org.codehaus.mojo:exec-maven-plugin:1.2.1:exec

Set Properties: exec.args=-classpath %classpath org.jmcdonnell.projects.novamediamanager.Application
               exec.executable=java