问题描述
我在导入一个web项目启动后报错,错误如下:Jan05,20158:53:45AMorg.apache.catalina.core.StandardContextlistenerStartSEVERE:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerjava.util.EmptyStackExceptionatjava.util.Stack.peek(Stack.java:102)atorg.apache.logging.log4j.core.impl.ThrowableProxy.resolvePackageData(ThrowableProxy.java:339)atorg.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:71)atorg.apache.logging.log4j.core.impl.Log4jLogEvent.<init>(Log4jLogEvent.java:108)atorg.apache.logging.log4j.core.impl.Log4jLogEvent.<init>(Log4jLogEvent.java:79)atorg.apache.logging.log4j.core.config.LoggerConfig.createEvent(LoggerConfig.java:352)atorg.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:280)atorg.apache.logging.log4j.core.Logger.log(Logger.java:108)atorg.apache.logging.log4j.spi.AbstractLoggerWrapper.log(AbstractLoggerWrapper.java:55)atorg.slf4j.impl.SLF4JLogger.log(SLF4JLogger.java:455)atorg.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:319)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)atjava.util.concurrent.FutureTask.run(FutureTask.java:262)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)atjava.lang.Thread.run(Thread.java:744)Jan05,20158:53:45AMorg.apache.catalina.core.StandardContextstartInternalSEVERE:ErrorlistenerStartJan05,20158:53:45AMorg.apache.catalina.core.StandardContextstartInternalSEVERE:Context[/workcrm]startupfailedduetopreviouserrorsJan05,20158:53:45AMorg.apache.catalina.core.ApplicationContextlogINFO:ClosingSpringrootWebApplicationContextJan05,20158:53:45AMorg.apache.coyote.AbstractProtocolstartINFO:StartingProtocolHandler["http-bio-8088"]Jan05,20158:53:45AMorg.apache.coyote.AbstractProtocolstartINFO:StartingProtocolHandler["ajp-bio-8009"]Jan05,20158:53:45AMorg.apache.catalina.startup.CatalinastartINFO:Serverstartupin8283ms