Spring-boot junit类读取config配置文件的注解

@SpringBootApplication @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) /*@ContextConfiguration(locations = {"classpath:spring.xml","
相关文章
相关标签/搜索