3

I'm using NetBeans IDE and Maven with Spring Boot. Whenever I run my app more than once, I get this error:

o.a.coyote.http11.Http11NioProtocol : Failed to start end point associated with ProtocolHandler ["http-nio-8080"]

java.net.BindException: Address already in use

spring boot java.lang.IllegalStateException: Tomcat connector in failed state

I'm assuming this means that Tomcat isn't getting shutdown. How can I properly shutdown the embedded Tomcat in Spring Boot (preferably from the IDE)?

Community
  • 1
  • 1
vt97john
  • 579
  • 3
  • 10
  • 24

1 Answers1

1

I found a netbeans configuration that fixed my problem. See this screenshot: https://bugzilla-attachments-241321.netbeans.org/bugzilla/attachment.cgi?id=151222

vt97john
  • 579
  • 3
  • 10
  • 24
  • and if you get "No plugin found for prefix 'spring-boot'" error then here is my solution http://stackoverflow.com/a/37260567/4443323 – Tomasz Mularczyk May 16 '16 at 18:30