tomcat启动项目:类路径找不到og4j.properties文件--错误提示"java.lang.IllegalArgumentException"

错误提示:java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation' parameter: class path resource [log4j.properties] cannot be resolved to URL because it does not exist

解决办法:项目右键------properties----java bulid path ----source---add folder--选择log4j.properties所在文件夹。

posted @ 2018-06-11 13:29  贠晓轩  阅读(1123)  评论(0编辑  收藏  举报