log4j警告信息如下:
log4j:WARN No appenders could be found for logger (org.apache.ibatis.logging.LogFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
解决方法:
直接用第二种方法就行
https://blog.csdn.net/qq_34474324/article/details/98874675
log4j:WARN No appenders could be found for logger (org.apache.ibatis.logging.LogFactory).