Java开发问题:tomcat7.0+jdk8+springmvc。服务器启动正常,部署项目时报错。错误如下:

严重: Context initialization failed
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)

********

一月 28, 2015 10:19:51 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException

*******

一月 28, 2015 10:19:51 上午 org.springframework.context.support.AbstractApplicationContext doClose
警告: Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Jan 28 10:19:50 CST 2015]; root of context hierarchy
*******

一月 28, 2015 10:19:51 上午 org.springframework.context.support.AbstractApplicationContext doClose
警告: Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Wed Jan 28 10:19:50 CST 2015]; root of context hierarchy
****

第1个回答  2016-08-12
spring版本过低 试试4.0
第2个回答  2015-01-28
你的全部异常只有这些吗?这里报的都是org类的错误,看不到你的代码的异常,没法分析。本回答被网友采纳
第3个回答  2017-04-24
想问下,这个问题您时怎么解觉得?我也遇到了这个问题,是和spring版本有关吗?
我遇到的问题时:在dao层加@repository 注解就会发生错误,没有的话就不会出错