Skip to content

Fail by default when @EnableWebMvc is used or a WebMvcConfigurationSupport bean is configured #6647

@xenoterracide

Description

@xenoterracide

http://stackoverflow.com/q/38935308/206466 I spent like 2 days trying to figure out why -Dspring.resources.static-locations wasn't working as expected (still fighting with it honestly...) all because I had @EnableWebMvc and that disables spring boot features. the fact that an Enable, disables something is hugely frustrating in its own right, but that aside I haven't noticed any warnings about it. So when using a feature that will "break" spring boot I'd like to see a warning, and maybe have a property per feature that disables said warning (if you've done that intentionally).

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions