错误:org.springframework.boot.actuate.autoconfigure.health.HealthEndpointProperties

启动错误:org.springframework.boot.actuate.autoconfigure.health.HealthEndpointProperties

  • springboot启动错误
    • 解决方案

springboot启动错误

Paraneter 0 of method httpCodeStatusMapper in com.alipay.sofa.boot.actuator.autoconfigure. health. SofaBootHealthcheckAutoConfiguration$ReadinessCheckExtensionConfiguration required a bean of type ’ org.springframework.boot.actuate.autoconfigure.health.HealthEndpointProperties’ that could not be found.
Action:
Consider defining a bean of type ’ org.springframework.boot.actuate.autoconfigure.health.HealthEndpointProperties’ in your configuration.

解决方案

yml配置文件新增如下配置
错误:org.springframework.boot.actuate.autoconfigure.health.HealthEndpointProperties_第1张图片

你可能感兴趣的:(java,spring,boot,开发语言)