通過運行main方法啟動一個spring boot 項目,啟動后發現控制臺報如下錯誤。
log4j:WARN No appenders could be found for logger (org.springframework.boot.devtools.settings.DevToolsSettings).
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 :: (v1.5.6.RELEASE)
八月 12, 2017 5:18:16 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Tomcat]
八月 12, 2017 5:18:16 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.5.16
八月 12, 2017 5:18:16 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring embedded WebApplicationContext
八月 12, 2017 5:18:17 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service [Tomcat]
應該怎樣解決,是使用spring+mybatis的項目
添加回答
舉報
0/150
提交
取消