project-root/ │ ├── docker/ │ ├── logstash/ │ │ └── logstash.conf │ └── docker-compose.yml │ ├── src/main/java/com/example ...
An alternative would be to ask Spring Boot to create only the web layers of the context using the @WebMvcTest. Spring Boot automatically tries to locate the main application class of your application ...