Java开发问题:tomcat7.0+jdk8+springmvc。服务器启动正常,部署项目时报错。错误如下: 10
严重:Contextinitializationfailedjava.lang.IllegalArgumentExceptionatorg.springframework...
严重: 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
**** 展开
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
**** 展开
展开全部
spring版本过低 试试4.0
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你的全部异常只有这些吗?这里报的都是org类的错误,看不到你的代码的异常,没法分析。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
想问下,这个问题您时怎么解觉得?我也遇到了这个问题,是和spring版本有关吗?
我遇到的问题时:在dao层加@repository 注解就会发生错误,没有的话就不会出错
我遇到的问题时:在dao层加@repository 注解就会发生错误,没有的话就不会出错
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询