In the Spring Boot 2.0.2 Reference Guide, §23.6 states: > The algorithm used to determine a WebEnvironmentType is fairly simple This should be "WebApplicationType". There is no such thing as a WebEnvironmentType.