java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @Context

@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, classes = {PropertyDefine.class})web

@SpringBootApplication
@EnableAutoConfigurationspring

 

https://stackoverflow.com/questions/21783391/spring-boot-unable-to-start-embeddedwebapplicationcontext-due-to-missing-embeddapp

相關文章
相關標籤/搜索