spring-guides / gs-rest-service

Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring.
https://spring.io/guides/gs/rest-service/
Apache License 2.0
1.39k stars 2.56k forks source link

Application finishing & exiting immediately #112

Closed TimFurdui closed 3 years ago

TimFurdui commented 3 years ago

I got the application to run however, I cannot test it on POSTMAN or send it any HTTP Requests because the application ends before I can do that. These are the console logs:

2020-10-15 09:26:46.915 INFO 6000 --- [ main] c.e.demo.SpringIntroProjectApplication : Starting SpringIntroProjectApplication on Tims-PC with PID 6000 (C:\Users\Tim\IdeaProjects\springIntroProject\target\classes started by Tim in C:\Users\Tim\IdeaProjects\springIntroProject) 2020-10-15 09:26:46.916 INFO 6000 --- [ main] c.e.demo.SpringIntroProjectApplication : No active profile set, falling back to default profiles: default 2020-10-15 09:26:47.201 INFO 6000 --- [ main] c.e.demo.SpringIntroProjectApplication : Started SpringIntroProjectApplication in 0.471 seconds (JVM running for 1.032)

Process finished with exit code 0

Any help would be greatly appreciated!

TimFurdui commented 3 years ago

/Closed.

The issue was in the Pom.xml file.