I have following configuration class:
@Configuration @PropertySource(name = \"props\", value = \"classpath:/app-config.properties\") @ComponentScan(\"service
Another thing that may be happening: ensure your @Value annotated values are not static.