Unable to find a SpringBootConfiguration in Spring Boot Test 1.4
问题 I'm not able to run a simple test in spring boot 1.4. I followed the tutorial from the official site testing-the-spring-mvc-slice but I didn't get it to work. every time i get the following error: java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test any ideas, hints? Thanks in advance Edit: this is the controller @Controller public class UserManagementController { @GetMapping(value = "