This is the error i am getting failed to load application
Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/actuate/health/HealthAggregator

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.health.HealthAggregator

These are the versions that i am upgrading to

Upgrading from spring-boot 2.3.12 RELEASE to 2.7.18
and spring-cloud Hoxton SR12 to 2021.0.8

What should be the solution for this?