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=*

 

posted @ 2019-11-10 15:34  ibrake  阅读(454)  评论(0编辑  收藏  举报