actuator beans不展示

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>

引入actuator后发现 health可以正常展示。

但是发现beans无法展示

解决:

在application.properties里面加入配置:

management.endpoints.web.exposure.include=*
原文地址:https://www.cnblogs.com/Brake/p/11830444.html