log4j:ERROR Could not find value for key log4j.appender.CONSOLE

Log4j ERROR: log4j:ERROR Could not find value for key log4j.appender.CONSOLE


解决方法:

在log4j.properties 加入以下配置

log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout


你可能感兴趣的:(J2EE)