Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentracing-spring-web-starter incompatible with Spring Boot 2.6 #147

Open
mihkelmuur opened this issue Nov 30, 2021 · 1 comment
Open

Comments

@mihkelmuur
Copy link

mihkelmuur commented Nov 30, 2021

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()'
...

The Javadoc on ManagementServerProperties.Servlet.getContextPath() suggest to replace ManagementServerProperties.getServlet().getContextPath() with ManagementServerProperties.getBasePath():

Deprecated. since 2.4.0 for removal in 2.6.0 in favor of ManagementServerProperties.getBasePath()

@bzdgn
Copy link

bzdgn commented May 3, 2022

Is there any progress for the fix for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants