SpringBoot configuration
I’m trying to run the following code using JUnit test (Run As -> JUnit Test).
I’m using Maven for dependency management, so I would have and understand that it’s a configuration issue.
I’ve seen that some people need to put “@SpringBootTest(classes = {ApplicationConfig.class})
” to configure “Spring Boot”, but in files of the same nature, it hasn’t been necessary to put it.