Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Deprecated property (spring.main.web-environment) referenced in section 74.2 of reference manual #12940
Section 74.2 (Externalize the Configuration of SpringApplication) of the reference manual (https://docs.spring.io/spring-boot/docs/current/reference/html/howto-properties-and-configuration.html#howto-externalize-configuration) references a deprecated property.
In this section the now deprecated spring.main.web-environment property is used to disable the web container instead of spring.main.web-environment-type. The following example:
should be changed to: