java.lang.IllegalStateException: 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

Stack Overflow | Aladdin | 4 days ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Using Spring boot with rest controller

    Stack Overflow | 3 months ago | Satyadev
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@58f7ff2f: startup date [Wed Nov 09 21:08:20 IST 2016]; root of context hierarchy
  2. 0

    I try use undertow in spring boot ,but it's error

    Stack Overflow | 2 months ago | avlin han
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@71ba6d4e: startup date [Tue Dec 06 10:17:46 CST 2016]; root of context hierarchy
  3. 0

    Error when Add VaadinSecurity : This can also happen if you are @ComponentScanning a springframework package

    Stack Overflow | 4 days ago | Aladdin
    java.lang.IllegalStateException: 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues when use springfox?

    Stack Overflow | 2 months ago | liam xu
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'objectMapperConfigurer' defined in springfox.documentation.spring.web.SpringfoxWebMvcConfiguration: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: springfox.documentation.schema.property.ModelPropertiesProvider [Xlint:invalidAbsoluteTypeName] 2016-12-15 16:02:33.468 ERROR 15336 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor' threw an exception java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@31368b99: startup date [Thu Dec 15 16:02:31 CST 2016]; root of context hierarchy
  6. 0

    JNDI issue when configuring JPA with Spring Boot

    Stack Overflow | 6 days ago | Hasan Can Saral
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@31dcd942: startup date [Mon Feb 13 20:20:09 EET 2017]; root of context hierarchy
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    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

    at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster()
  2. Spring Context
    ApplicationListenerDetector.postProcessBeforeDestruction
    1. org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:404)[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2. org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97)[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2 frames
  3. Spring Beans
    DefaultListableBeanFactory.destroySingletons
    1. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    4. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:954)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:961)[spring-beans-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    6 frames
  4. Spring Context
    AbstractApplicationContext.close
    1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1009)[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:961)[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
    3 frames
  5. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818)[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
    2. org.springframework.boot.SpringApplication.run(SpringApplication.java:326)[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
    4 frames
  6. com.springboot.vaadin
    VaadinBootApplication.main
    1. com.springboot.vaadin.VaadinBootApplication.main(VaadinBootApplication.java:32)[classes/:na]
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_111]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_111]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_111]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_111]
    4 frames
  8. Spring Boot Maven Plugin
    AbstractRunMojo$LaunchRunner.run
    1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:506)[spring-boot-maven-plugin-1.4.2.RELEASE.jar:1.4.2.RELEASE]
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_111]
    1 frame