In my project I want to use environment specific property file. For example if I am running it into development it should use application.dev.properties, for production it shoul
A few issues I noticed:
@Value property name should be a String like @Value("${server.database.host}")application-{profile}.properties format, e.g. application-dev.properties-D like java -Dspring.profiles.active=dev -jar app.jar