1. 程式人生 > >tomcat7外掛啟動專案卡在:log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

tomcat7外掛啟動專案卡在:log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

運用tomcat7外掛啟動專案後,專案一直卡在log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.下面是卡住時的情況:

我遇到這種情況的原因是:mybatis逆向生成介面及xml檔案時生成了兩遍,雖然移動到專案中的檔案沒有重複,但還是引起了tomcat啟動卡住,應該是檔案不匹配導致的。

解決辦法為:將逆向生成的檔案全部刪除後,重新生成一遍完整的,放到專案中後,重新啟動tomcat外掛就可以了。僅供參考!!