springbootadmin中项目一直处于未开启健康检查状态,但已注册到nacos

1,服务配置了 context-path 这个属性,导致 Spring Boot Admin 一直获取不到这个服务的端点信息
2.没有引入下面的依赖

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

3,你的项目是spingsecurity或者shiro项目,对请求地址进行了权限控制。
查看:https://blog.csdn.net/qq_34922501/article/details/105189020

猜你喜欢

转载自blog.csdn.net/weixin_38019299/article/details/107359942