actuator beans不展示
程序员文章站
2023-10-16 12:34:56
引入actuator后发现 health可以正常展示。 但是发现beans无法展示 解决: 在application.properties里面加入配置: ......
<dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-actuator</artifactid> </dependency>
引入actuator后发现 health可以正常展示。
但是发现beans无法展示
解决:
在application.properties里面加入配置:
management.endpoints.web.exposure.include=*
上一篇: 郑州的生鲜有机蔬菜质优价廉,你吃过吗