Java 缓存执行器终结点未显示

Java 缓存执行器终结点未显示,java,spring,spring-boot,spring-boot-actuator,spring-boot-admin,Java,Spring,Spring Boot,Spring Boot Actuator,Spring Boot Admin,我正在为我的应用程序实现执行器和Spring Boot Admin。当我向/执行器发送请求时,我得到除缓存之外的所有执行器点 我已尝试在application.yaml中打开/关闭缓存运行状况监视,但没有成功 cache: hazelcast: instance_name: hazelcast-cache health: monitoring: level: OFF application.yaml: w

我正在为我的应用程序实现执行器和Spring Boot Admin。当我向/执行器发送请求时,我得到除缓存之外的所有执行器点

我已尝试在application.yaml中打开/关闭缓存运行状况监视,但没有成功

cache: 
     hazelcast:
       instance_name: hazelcast-cache
       health:
         monitoring:
           level: OFF

application.yaml:

    web:
      exposure:
        include: "*"
build.gradle:

compile group: 'de.codecentric', name: 'spring-boot-admin-starter-client', version: '2.0.6'```

问题是spring启动版本,我的项目是2.0.6版本。迁移到最新版本后,一切都已就绪。

您包含的application.yaml似乎不正确,我认为您缺少其中的“management.endpoints”部分。该属性的完整路径为:management.endpoints.web.exposure.include