(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.1.BUILD-SNAPSHOT.jar:2.3.1.BUILD-SNAPSHOT(SpringApplication.java:397) ~[spring-boot-2.3.1.BUILD-SNAPSHOT.jar:2.3.1.BUILD-SNAPSHOT]
at org.springframework.bo
我刚刚从SpringBoot 1.5.19升级到2.3.11,并从Gradle 4.0升级到6.5 在升级之前,它运行得很好。***************
Parameter 1 of constructor in controllers.IndexController required a bean
(AbstractHealthIndicator.java:82) ~[spring-boot-actuator-2.3.1.RELEASE.jar:2.3.1.RELEASE]
at org.springframework.boot.actuate.health.HealthIndicator.getHealth(HealthEndpointWebExtension.java:60) ~[spring-boot-actuator-2.3.1.