Spring Boot的嵌入式Tomcat启动后立即关闭

时间:2018-07-16 17:13:27

标签: spring-boot tomcat

无法理解为什么它立即关闭。日志中也没有错误。 Tomcat日志如下:

log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Jul 16, 2018 10:29:52 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jul 16, 2018 10:29:52 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.11
Jul 16, 2018 10:29:55 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
Jul 16, 2018 10:29:59 PM org.apache.catalina.core.ApplicationContext log
INFO: jolokia: No access restrictor found, access to any MBean is allowed
Jul 16, 2018 10:30:09 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat

0 个答案:

没有答案