In my current spring-boot project, my views have this line:
to reference a static css
Not use @EnableWebMvc if you are using spring boot and check spring sercurity.