I'd suggest to move @PropertySource annotations to number 8 in the property reading order. Check http://stackoverflow.com/questions/24038103/property-order-in-spring-boot for more details.