Replace ConditionalOnEnabledEndpoint for Spring Boot 2.6.4

543 views Asked by At

I want to migrate old Spring project which is using this dependency:

org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnEnabledEndpoint

This Class requires import of:

'org.springframework.boot:spring-boot-actuator-autoconfigure:2.0.2.RELEASE'

I tried to use the latest version:

'org.springframework.boot:spring-boot-actuator-autoconfigure:2.6.4' but ConditionalOnEnabledEndpoint is not available. Do you know which class should be used?

1

There are 1 answers

4
Rob Spoor On BEST ANSWER