資訊: Deploying web application directory TEST log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. 2015/5/23 下午 03:19:43 org.apache.catalina.core.StandardContext start 嚴重的: Error listenerStart 2015/5/23 下午 03:19:43 org.apache.catalina.core.StandardContext start 嚴重的: Context [/TEST] startup failed due to previous errors
總覺得很奇怪,從沒發生過這問題,google了下,看到這篇WARN No appenders could be found for logger的解决方法,有點半信半疑下將web.xml中跟log4j的設定都
org.springframework.web.context.ContextLoaderListener前後再start,就真的正常了,用了快十來年的J2EE,我還真的第一次遇到這問題,再不然就是之前從來沒記錄過吧,哈哈哈
參考網址:
WARN No appenders could be found for logger的解决方法
沒有留言:
張貼留言