Is there a way to read text from external properties file in spring without using the @Value annotation. Ex: application.properties
@Value
var.foo=\"he
You can use a placeholder when you declare a bean in your configuration file.Here you can try an example : https://www.mkyong.com/spring/spring-propertyplaceholderconfigurer-example/