I\'m reading properties file using context:property-placeholder. How can I access them programatically (@Value doesn\'t work - I d
This works if you need to scan multiple locations for your properties ...
classpath:yourProperties.properties
file:../conf/yourProperties.properties
file:conf/yourProperties.properties
file:yourProperties.properties
And then in your actual classes ...
@Autowired
Properties yourProperties;
Tested using Spring 5.1.4