ERROR [localhost-startStop-1] - Context initialization failed
java.lang.IllegalArgumentException
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init
>(SimpleMetadataReader.java:52)
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before
multicasting events via the context: Root WebApplicationContext: startup date [Mon Mar 14 14:40:57 CST 2016]; root of context hierarchy
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationConte
xt: startup date [Mon Mar 14 14:40:57 CST 2016]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLif
ecycleProcessor(AbstractApplicationContext.java:360)解决办法:将spring3的jar升级为spring4
本文介绍了一种解决Spring框架初始化失败的问题,错误主要源于非法参数导致的初始化异常。通过将Spring3的jar包升级到Spring4版本,可以有效解决初始化失败的问题。

6965

被折叠的 条评论
为什么被折叠?



