1、查看是否包中有包含了log4j的配置文件log4j.xml或log4j.properties,或者apache的commons-logging的配置文件commons-logging.properties