I would like to know the priority of the application-{profile}.properties files, if multiple spring.profiles.active are added.
For example:
- Let say, I have this
spring.profiles.active=profile1,profile2 - And in my
src/main/resources, I have these filesapplication-profile1.propertiesandapplication-profile2.properties - If both of the files config the same property, but with different values, which one will be the one shown?
I have read this and but it doesn't cover this topics here.
Thanks in advance.