title: NoSuchFieldError: pathPatternParser in WebMvcEndpointManagementContextConfiguration after upgrade from spring-boot 2.5.5 to 2.6.1
body: <p>When upgrading to Spring-Boot from 2.5.5 to 2.6.1, I encounter the following error:</p>
  <pre><code>Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping]: Factory method 'webEndpointServletHandlerMapping' threw exception; nested exception is java.lang.NoSuchFieldError: pathPatternParser
  </code></pre>
  <p>I use Spring Boot Actuator, which uses class WebMvcEndpointManagementContextConfiguration in the autoconfigure dependency (spring-boot-actuator-autoconfigure). On line 68 (decompiled class), the <code>WebMvcAutoConfiguration.pathPatternParser</code> field is used, which to my understanding causes the exception.</p>
  <pre><code>return new WebMvcEndpointHandlerMapping(endpointMapping, webEndpoints, endpointMediaTypes, corsProperties.toCorsConfiguration(), new EndpointLinksResolver(allEndpoints, basePath), shouldRegisterLinksMapping, WebMvcAutoConfiguration.pathPatternParser);
  </code></pre>
  <p>If I check the <code>WebMvcAutoConfiguration</code> class, I can only see the following usage of the <code>PathPatternParser</code> class, but no field declaration.</p>
  <pre><code>public void configurePathMatch(PathMatchConfigurer configurer) {
              if (this.mvcProperties.getPathmatch().getMatchingStrategy() == MatchingStrategy.PATH_PATTERN_PARSER) {
                  configurer.setPatternParser(new PathPatternParser());
              }
  </code></pre>
  <p>Is this a bug?</p>
  <p>I will try to use Spring-Boot 2.6.0, 2.5.7 and 2.5.6 and see what the behavior on those versions is. I will update this issue with the information</p>