ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context
It was due to version conflict when I have updated the version
from
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>2.0.6</version>
</dependency>
to
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>4.3.8.RELEASE</version>
</dependency>
it worked fine.
In my case the value of @PropertySource
was wrong. I was passed the wrong path. You should set your local path here.
I've pulled the project, but I did not change the paths in @PropertySource
.
@PropertySource(value = {"${example.RESOURCES_PATH:classpath:}/local/application.properties"}).
in my case my properties files were in local folder.