运行Spring引导服务器时,它正在运行。有时会自动关闭。我收到这样的错误。
我还在pom.xml中添加了“ spring-boot-starter-tomcat”
--------------------错误----------
INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2cdf8d8a: startup date [Fri Aug 17 12:45:04 IST 2018]; root of context hierarchy
2018-08-17 23:04:22 INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown