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
相關文章
相關標籤/搜索