似乎我在Spring4.1.17中使用SpringBoot1.2.6.RELEASE所做的任何事情都不起作用。我只想访问应用程序属性并在必要时用测试覆盖它们(不使用黑客手动注入(inject)PropertySource)这不起作用..@TestPropertySource(properties={"elastic.index=test_index"})这个也不行..@TestPropertySource(locations="/classpath:document.properties")也不是这个..@PropertySource("classpath:/document.prop