Skip to content
Advertisement

Spring boot app terminated at startup

I have created a spring boot project using spring initilizer. I use spring-boot-cli version v1.5.3.RELEASE.

I just try to run:

JavaScript

But my server won’t stay running, it is closing automatically. On port 8080 I have no other connection:

JavaScript

LATER EDIT:

JavaScript

Still not working. EDIT: here is the pom file:

JavaScript

Advertisement

Answer

I added in the pom file a tomcat dependency and it worked.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement