ApplicationEventMulticaster not initialized和LifecycleProcessor not initialized解决
程序员文章站
2022-05-28 13:43:01
...
错误描述:
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized
java.lang.IllegalStateException: LifecycleProcessor not initialized
解决办法:
1、首先确认工程中spring的jar包是否引好了;
2、clean工程和tomcat(百度上不少说clean一下tomcat的,但是只是clean的话基本是没用的);
3、检查tomcat的JDK版本和工程的JDK版本是否一致(我的就是这个原因,项目是1.7的,tomcat用的1.8的),修改tomcat的JDK版本后clean。
上一篇: ApplicationEventMulticaster not initialized和LifecycleProcessor not initialized解决
下一篇: ClassNotFoundException: org.springframework.web.context.ContextLoaderListener解决
推荐阅读
-
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized
-
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized
-
解决echarts报There is a chart instance already initialized on the dom.错误
-
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized
-
ApplicationEventMulticaster not initialized和LifecycleProcessor not initialized解决
-
ApplicationEventMulticaster not initialized和LifecycleProcessor not initialized解决