摘要:
1、创建类TimerTestimport java.util.Timer;import java.util.TimerTask;public class TimerTest { private final Timer timer = new Timer(); public voi... 阅读全文
摘要:
1、新建java项目log4Test2、新建目录lib,把log4j-1.2.9.jar包放入lib目录3、右键工程,选择Properties->Java Build Path->Libraries->Add JARs...,选择lib下的log4j-1.2.9.jar4、在src目录下新建两个文件... 阅读全文