我把 log4j.properities
文件放在哪里?
PropertyConfigurator.configure("log4j.properties");
我发现了以下链接:
< a href=" "https://stackoverflow.com/ questions/5081316/ where -is -the- 更正-place-to-put-log4j-properities-in-an-eclipse-Project" <哪里是将Log4j.propperities放入剪贴板工程的正确位置?
But as per the answer (selected) ,I think the setting is for the server itself and would be
applied to all projects.But I want this .properties file for my concerned project only.
我的项目结构是:
AccountCeation //project name
Java Resources: src
com.alw.controllers //packages
.....
log4j.properties
我总是得到一个 < code> FileNotFoundException 。
NOTE: 我正在开发带有春季框架的动态网络应用程序。
请指引我在哪里我失踪?