最佳答案
I want my default active profile to be production if -Dspring.profiles.active is not set.
I tried the following in my application.properties but it did't work:
spring.profiles.default=production
Spring-boot version = 1.3.5.RELEASE