What is the purpose of these annotations?
I am trying to use @ConfigurationPropertiesScan annotation to fetch a property from application.yaml file. I am able to fetch this property in Configuration class, but when I am trying to get this property in any other class, it’s giving null value.