log4j 日志配置和jar包下载

1、日志log4j文件配置

${webapp.root}才是项目根目录
log4j.appender.logfile.File= ${catalina.home}/log/filter.log

指生成日志在tomcat的log中

2、jar包下载

commons_搜索jar包文件 http://jarfiles.pandaidea.com/search?q=commons

原文地址:https://www.cnblogs.com/learningJAVA/p/4048238.html