SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration

如异常所译,你须要在注解上加上java @SpringBootTest(classes = Application.class) 或者使用 @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = {JPAConfig.class}) orxml @RunWith(SpringRunner.class) @Con
相关文章
相关标签/搜索