5.17
1,获取log4j配置文件路径
public class Test {
public void t() {
System.out.println(getClass().getResource("/log4j.properties"));
}
public static void main(String[] args) {
new Test().t();
}
}
1,获取log4j配置文件路径
public class Test {
public void t() {
System.out.println(getClass().getResource("/log4j.properties"));
}
public static void main(String[] args) {
new Test().t();
}
}
暂无评论。
评论功能维护中,当前仅展示历史评论。