Spring Boot Config Priorities

Recently, while working on a job, I ran into an interesting problem with Spring Boot: the configuration files I had defined using the @PropertySourceannotation were being overridden by the application.properties file, which I had also defined with a @PropertySource annotation. Why wasn’t Spring prioritizing my configuration files correctly? What I was attempting to accomplish was shipping my jar with some default configuration … Continue reading Spring Boot Config Priorities