Could use the constant for config root, e.g.: "classpath*:/" + ConfigLocations.XD_CONFIG_ROOT