为什么找不到log4j.properties文件
标签:
杂谈 |
| http://www.lslnet.com/images/icon_new.gif为什么老是找不到?? log4j.properties 我的 log4j.properties 目录 F:\iic\zlsf\WEB-INF\classes\log4j.properties 为什么老是找不到?? [code] <2005-2-23 上午11时25分33秒 CST>; <Notice>; <WebLogicServer>; <BEA-000360>; <Serve started in RUNNING mode>; <2005-2-23 上午11时25分33秒 CST>; <Warning>; <WebLogicServer>; <BEA-000372>; <Host me: 0.0.0.0, maps to multiple IP addresses:192.168.1.88,10.40.14.28>; <2005-2-23 上午11时25分33秒 CST>; <Notice>; <WebLogicServer>; <BEA-000355>; <Threa "ListenThread.Default" listening on port 7001, ip address *.*>; log4j:ERROR Could not read configuration file [log4j.properties]. java.io.FileNotFoundException: log4j.properties (系统找不到指定的文件。) r.java:297) [/code] 这是初始化代码: [code] [/code] |
| http://www.lslnet.com/images/icon_new.gif为什么老是找不到?? log4j.properties 你需要在一个Servlet中配置Log4J |
| http://www.lslnet.com/images/icon_new.gif为什么老是找不到?? log4j.properties |
| http://www.lslnet.com/images/icon_new.gif为什么老是找不到?? log4j.properties --> web.xml [code] <servlet>; [/code] InitServlet.java [code] public final class InitServlet extends HttpServlet { .... .... } [/code] |

加载中…