Hi,
I'm developing a Spring MVC app using Spring Boot 2.4.1.
I add the following configurations to application.properties in order to switch path matching strategy to the new PathPatternParser:
spring.mvc.pathmatch.matching-strategy=path_pattern_parser
But after that access to the root path (/) won't be redirected to /index.html. Access the full path http://xxxxx/index.html is OK. If switching back to AntPathMatcher, redirect works normally.
PS: I set spring.web.resources.static-locations to a local directory which contains static resources.