Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated property (spring.main.web-environment) referenced in section 74.2 of reference manual #12940

bmatthews68 opened this issue Apr 22, 2018 · 1 comment


None yet
3 participants
Copy link

commented Apr 22, 2018

Section 74.2 (Externalize the Configuration of SpringApplication) of the reference manual ( 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:


This comment has been minimized.

Copy link

commented Apr 22, 2018

@bmatthews68 good catch, thanks. FYI, the name of the property is spring.main.web-application-type and not spring.main.web-environment-type.

@snicoll snicoll closed this in 6df1ea3 Apr 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.