question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Spring Boot 2.4.0

See original GitHub issue

Hello SBA Team,

We were using SBA 2.3.0 with Springboot 2.3.x for a while, no problem, very happy.

Springboot recently announced the release of 2.4.0-RC1. We bumped everything on our side to 2.4.0-RC1 and Illford, and believe the current SBA is not compatible.

@EnableAdminServer
@SpringBootApplication
public class Application {
    
    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }

}
An attempt was made to call a method that does not exist. The attempt was made from the following location:

    de.codecentric.boot.admin.server.services.AbstractEventHandler.start(AbstractEventHandler.java:57)

The following method did not exist:

    'reactor.core.publisher.Flux reactor.core.publisher.Flux.retryWhen(java.util.function.Function)'

The method's class, reactor.core.publisher.Flux, is available from the following locations:

    jar:file:/Users/Users/.m2/repository/io/projectreactor/reactor-core/3.4.0/reactor-core-3.4.0.jar!/reactor/core/publisher/Flux.class

The class hierarchy was loaded from the following locations:

    reactor.core.publisher.Flux: file:/Users/Users/.m2/repository/io/projectreactor/reactor-core/3.4.0/reactor-core-3.4.0.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of reactor.core.publisher.Flux


Process finished with exit code 1

Could you please help?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
njoysubhocommented, Nov 10, 2020

I created a PR for this.

2reactions
njoysubhocommented, Nov 9, 2020

Hello Team, The issue is happening because of the removal of the following method from reactor-core 3.4.0

public final Flux<T> retryWhen(Function<Flux<Throwable>, ? extends Publisher<?>> whenFactory) which is being used in many locations.

If it is not already being worked upon can I work on it ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot 2.4.0 available now
Spring Boot 2.4 supports Java 15 while also remaining compatible with Java 11 and 8. Dependency upgrades. Spring Boot 2.4 moves to new...
Read more >
Spring Boot 2.4 Release Notes - GitHub
Java 15 Support. Spring Boot 2.4 now fully supports (and is tested against) Java 15. The minimum supported version remains Java 8.
Read more >
org.springframework.boot » spring-boot » 2.4.0
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
Read more >
org.springframework.boot : spring-boot-dependencies : 2.4.0
spring -boot-dependencies. Spring Boot Dependencies. Licenses. Apache License, Version 2.0. Home page, https://spring.
Read more >
Book's Code Upgrade: Migrate from Spring Boot 2.3 to 2.4
A minor update, or not? · Migrate to Spring Boot 2.4.0 and Java 15. Embedded Database (H2) credentials · Migrate to Spring Cloud...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found