J2EE ApplicationWar Application Can't find log4j.properties

xiaoxiao2021-03-06  120

Simply, it is your ClassLoader problem. The resource file is not in the ClassPath. A simple solution is to add -dlog4j.configuration = file: /path/to/log4j.properties if you don't want to add this parameter, put the log4j.properties in the work directory of AppServer in WebSphere ( Working Directory should be

转载请注明原文地址:https://www.9cbs.com/read-99740.html

New Post(0)