具体错误信息:
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http ://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
网上查找了一些解决方案,都不行,最后没办法把jar包和原来没有错误的工程复制了一份,最后运行成功。
后来发现少了两个jar包
log4j-api-版本号
log4j-core-版本号