read value from application.properties spring boot

In this post, we will learn to read value from application.properties spring boot In spring boot application we can easily inject the properties value from application.properties or application.yml Using @value annotation we can inject the properties value from application.properties inside the java code @value Syntax application.properties In the below example, we are writing a rest … Continue reading read value from application.properties spring boot