摘要: 捣鼓log4j,要记录一些重要的信息,但是在配置的时候总是出错,错误信息为:log4j:ERROR Could not read configuration file [\log4j.properties].java.io.FileNotFoundException: log4j.properties (系统找不到指定的文件。)用代码 File f = new File("/log4j.properties"); if(f.exists()) { System.out.println("OK"); } else { System.out.println( 阅读全文
posted @ 2012-12-05 09:15 iosJohnson 阅读(384) 评论(0) 推荐(0) 编辑