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

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