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
If running on Eclipse or STS, then use following steps:
Right click on project -> Run As -> Run Configuration.
In the new window, select spring boot application on left side, and add details on the right and in the profile dropdown, select dev.
Click apply and run.