问答详情
源自:2-7 写个简单的Hello World

运行不起来 问下老师怎么改?


log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.StandardServletEnvironment).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.


  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::        (v2.0.5.RELEASE)


四月 02, 2019 11:27:45 上午 org.apache.catalina.core.StandardService startInternal

信息: Starting service [Tomcat]

四月 02, 2019 11:27:45 上午 org.apache.catalina.core.StandardEngine startInternal

信息: Starting Servlet Engine: Apache Tomcat/8.5.34

四月 02, 2019 11:27:45 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: Loaded APR based Apache Tomcat Native library [1.2.14] using APR version [1.6.2].

四月 02, 2019 11:27:45 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

四月 02, 2019 11:27:45 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

信息: APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]

四月 02, 2019 11:27:46 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL

信息: OpenSSL successfully initialized [OpenSSL 1.0.2l  25 May 2017]

四月 02, 2019 11:27:47 上午 org.apache.jasper.servlet.TldScanner scanJars

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

四月 02, 2019 11:27:47 上午 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring embedded WebApplicationContext

四月 02, 2019 11:27:48 上午 org.apache.catalina.core.StandardService stopInternal

信息: Stopping service [Tomcat]


Process finished with exit code 1


提问者:bravobest 2019-04-02 11:33

个回答