After update to Spring Boot 2.6 an application relying on opentracing-spring-web-starter fails to start:
2021-11-30T11:56:22.972+0000 ERROR o.s.b.d.LoggingFailureAnalysisReporter
***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
io.opentracing.contrib.spring.web.starter.SkipPatternAutoConfiguration$ManagementSkipPatternProviderConfig.getPatternForManagementServerProperties(SkipPatternAutoConfiguration.java:68)
The following method did not exist:
'org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties$Servlet org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties.getServlet()'
...
After update to Spring Boot 2.6 an application relying on
opentracing-spring-web-starter
fails to start:The Javadoc on
ManagementServerProperties.Servlet.getContextPath()
suggest to replaceManagementServerProperties.getServlet().getContextPath()
withManagementServerProperties.getBasePath()
: