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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…