在使用yml编写配置我呢见
management: endpoints: web: base-path: /actuator jmx: exposure: include: *
给 * 加上 '' 变为 '*'
management: endpoints: web: base-path: /actuator jmx: exposure: include: '*'