Spring Boot Actuator监控端点无法访问

Spring Boot 版本为:1.5.13.RELEASE

项目中导入spring-boot-starter-actuator后,actuator提供默认端点无返回数据或显示错误页面

无返回数据:


显示错误页面:


只需在application.properties中添加配置:

management.security.enabled=false

即可解决

发布了23 篇原创文章 · 获赞 6 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/qq_22606825/article/details/80832362
今日推荐