Spring boot Restful - Inicia mas encerra em seguida

0 respostas
javaspring
N

Galera, bom dia

Estava testando o exemplo do spring boot https://spring.io/guides/gs/rest-service/, mas quando eu executo o projeto ele inicia, mas em seguida ele desliga, conforme log abaixo.

2016-11-20 11:19:21.764  INFO 1001  [           main] hello.Application                        : Starting Application on Nilsons-MacBook-Pro.local with PID 1001 (/Users/nilsonmassarenti/Documents/workspace-sts-3.8.2.RELEASE/gs-rest-service-complete/target/classes started by nilsonmassarenti in /Users/nilsonmassarenti/Documents/workspace-sts-3.8.2.RELEASE/gs-rest-service-complete)

2016-11-20 11:19:21.767  INFO 1001  [           main] hello.Application                        : No active profile set, falling back to default profiles: default

2016-11-20 11:19:21.848  INFO 1001  [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@74e52303: startup date [Sun Nov 20 11:19:21 BRST 2016]; root of context hierarchy

2016-11-20 11:19:23.269  INFO 1001  [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup

2016-11-20 11:19:23.285  INFO 1001  [           main] hello.Application                        : Started Application in 1.974 seconds (JVM running for 2.584)

2016-11-20 11:19:23.286  INFO 1001  [       Thread-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@74e52303: startup date [Sun Nov 20 11:19:21 BRST 2016]; root of context hierarchy

2016-11-20 11:19:23.288  INFO 1001  [       Thread-1] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown

Alguém tem noção do pq isso acontece?

Criado 20 de novembro de 2016
Respostas 0
Participantes 1