run application就会自动停止server
问题描述:
为什么run application就会自动停止server了呢?我是按着视频一步步来的
相关代码:
Jan 15, 2021 10:57:30 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 15, 2021 10:57:30 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.19]
Jan 15, 2021 10:57:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
Jan 15, 2021 10:57:30 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service [Tomcat]
Process finished with exit code 1
正在回答 回答被采纳积分+1
说错了 全部的log是这样的
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.5.RELEASE)
Jan 16, 2021 11:43:42 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 16, 2021 11:43:42 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.19]
Jan 16, 2021 11:43:42 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
Jan 16, 2021 11:43:42 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service [Tomcat]
Process finished with exit code 1
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星