错误提示如下:The method getLogger(String) in the type Logger is not applicable for the arguments (Class<TestMyBatis>)
等我知道这个报错的原因时,觉得自己粗心。
因为import错了包
我导入的:import java.util.logging.Logger;
应该导入:import org.apache.log4j.Logger;

如上图,记下来以后别再犯这类的错误。
相关文章url:
http://www.cnblogs.com/jiaguozhilian/p/5819646.html
http://www.cnblogs.com/binbiubiu/p/5909035.html
版权声明:本文为q3229270原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。