使用PropertySource批注并为你的应用程序提供两个来源:
@PropertySources({ @PropertySource("classpath:app-common.properties"), @PropertySource("classpath:app.properties") })
使用PropertySource批注并为你的应用程序提供两个来源:
@PropertySources({ @PropertySource("classpath:app-common.properties"), @PropertySource("classpath:app.properties") })