因为 ProertySources 他需要的是 PropertySource,类似于一个数组。你用下面任意一个写法
@PropertySources(value = {@PropertySource(value = "")}) @PropertySource(value = "")