spring-boot-starter-actuator添加后无法访问

bug反馈 未结 81
沉默的威廉
沉默的威廉 VIP2 2019-04-26 22:46:21
收藏
产品:微服务 版本:
系统加入依赖[pre] <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> [/pre] 配置如下[pre] management: endpoints: web: exposure: include: "*" health: how-details: "always" [/pre] 访问http://localhost:8085/actuator提示错误[pre] { "message": "Internal server error", "exception": "Could not find acceptable representation" } [/pre]
回帖
  • 消灭零回复