java.lang.IllegalStateException

ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7a138fc5: startup date [Sat Jan 07 12:42:46 CET 2017]; root of context hierarchy


Solutions on the web22924

Solution icon of stackoverflow
via Stack Overflow by Saurabh Kumar
, 7 months ago
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7a138fc5: startup date [Sat Jan 07 12:42:46 CET 2017]; root of context hierarchy

Solution icon of stackoverflow
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@74e6094b: startup date [Mon Jan 30 10:53:23 CET 2017]; root of context hierarchy

Solution icon of github
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@26b894bd: startup date [Mon Feb 13 23:39:10 CET 2017]; root of context hierarchy

Solution icon of github
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@ae281c: startup date [Wed Jan 29 13:21:27 CET 2014]; root of context hierarchy

Solution icon of github
via GitHub by cihanzengin
, 6 months ago
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5282daec: startup date [Wed Jan 11 15:33:55 FET 2017]; root of context hierarchy

Solution icon of github
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@51931956: startup date [Fri Feb 10 15:26:48 CET 2017]; root of context hierarchy

Solution icon of github
via GitHub by jjchiw
, 4 months ago
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3e92efc3: startup date [Mon Mar 20 23:45:58 CET 2017]; root of context hierarchy

Solution icon of stackoverflow
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@575e3187: startup date [Thu Feb 16 10:16:39 CET 2017]; root of context hierarchy

Solution icon of stackoverflow
ApplicationEventMulticaster not initialized call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1e4a7dd4: startup date [Sat Mar 04 15:05:01 IST 2017]; root of context hierarchy

Solution icon of stackoverflow
via Stack Overflow by Cihan Zengin
, 7 months ago
ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@a77614d: startup date [Sun Jan 08 17:13:35 MSK 2017]; root of context hierarchy

Stack trace

  • java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7a138fc5: startup date [Sat Jan 07 12:42:46 CET 2017]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:403) at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:233) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:951) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:958) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1035) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1011) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:963) at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:793) at org.springframework.boot.SpringApplication.run(SpringApplication.java:324) at dataprocessor.DataProcessorApplication.main(DataProcessorApplication.java:47)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 4 days ago
Once, 1 week ago
Once, 2 weeks ago
12 times, 2 weeks ago
Once, 1 month ago
31 more bugmates