版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gxb2260/article/details/81584949
1、代码如下:
2、访问默认的监控的端口:
3、解决之道:
在配置文件中添加:management.endpoints.web.exposure.include=*,重新启动服务
1、代码如下:
2、访问默认的监控的端口:
3、解决之道:
在配置文件中添加:management.endpoints.web.exposure.include=*,重新启动服务