ERROR Could not instantiate appender named "logfile".
log4j:ERRORA"org.apache.log4j.ConsoleAppender"objectisnotassignabletoa"org.apache.log4j.Appender"variable.
log4j:ERRORTheclass"org.apache.log4j.Appender"wasloadedby
log4j:ERROR[org.apache.catalina.loader.StandardClassLoader@d1e604]whereasobjectoftype
log4j:ERROR"org.apache.log4j.ConsoleAppender"wasloadedby[WebappClassLoader
delegate:false
repositories:
/WEB-INF/classes/
---------->ParentClassloader:
org.apache.catalina.loader.StandardClassLoader@d1e604
].
log4j:ERRORCouldnotinstantiateappendernamed"stdout".
log4j:ERRORA"org.apache.log4j.RollingFileAppender"objectisnotassignabletoa"org.apache.log4j.Appender"variable.
log4j:ERRORTheclass"org.apache.log4j.Appender"wasloadedby
log4j:ERROR[org.apache.catalina.loader.StandardClassLoader@d1e604]whereasobjectoftype
log4j:ERROR"org.apache.log4j.RollingFileAppender"wasloadedby[WebappClassLoader
delegate:false
repositories:
/WEB-INF/classes/
---------->ParentClassloader:
org.apache.catalina.loader.StandardClassLoader@d1e604
].
log4j:ERRORCouldnotinstantiateappendernamed"logfile".
log4j:WARNNoappenderscouldbefoundforlogger(com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARNPleaseinitializethelog4jsystemproperly.
多版本的日志JAR包会冲突的。
刚才发现了上述错误,网上查了下还真有这么回事情,我觉得应该把低版本的日志jar包给删除!!