java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.context.annotation.AnnotationConfigApplicationContext@505b5629: startup date [Fri Feb 06 15:50:18 EST 2015]; root of context hierarchy

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Execute mvn dependency:tree from your project's root directory.

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

  • Exception trying to run this code
    via GitHub by scarton
    ,
  • JPA configured app with Spring annotations
    via by Unknown author,
  • spring-boot running with idea,build with maven
    via by Unknown author,
    • java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.context.annotation.AnnotationConfigApplicationContext@505b5629: startup date [Fri Feb 06 15:50:18 EST 2015]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:344) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869) at org.springframework.context.support.AbstractApplicationContext$1.run(AbstractApplicationContext.java:804)[2015-02-06 15:50:18.792]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    linxiaolong
    linxiaolong1 times, last one,
    tvrmsmith
    tvrmsmith22 times, last one,
    SteVio1989
    SteVio19892 times, last one,
    23 more bugmates