/actuator/gateway 访问404
来源:11-1 认证授权——必然会面临的话题!

qq_慕仙4535815
2020-05-01
http://localhost:8041/actuator
{"_links":{“self”:{“href”:“http://localhost:8041/actuator",“templated”:false},“archaius”:{“href”:“http://localhost:8041/actuator/archaius”,“templated”:false},“nacos-discovery”:{“href”:“http://localhost:8041/actuator/nacos-discovery”,“templated”:false},“auditevents”:{“href”:“http://localhost:8041/actuator/auditevents”,“templated”:false},“beans”:{“href”:“http://localhost:8041/actuator/beans”,“templated”:false},“caches-cache”:{“href”:“http://localhost:8041/actuator/caches/{cache}”,“templated”:true},“caches”:{“href”:“http://localhost:8041/actuator/caches”,“templated”:false},“health”:{“href”:“http://localhost:8041/actuator/health”,“templated”:false},“health-component”:{“href”:“http://localhost:8041/actuator/health/{component}”,“templated”:true},“health-component-instance”:{“href”:“http://localhost:8041/actuator/health/{component}/{instance}”,“templated”:true},“conditions”:{“href”:“http://localhost:8041/actuator/conditions”,“templated”:false},“configprops”:{“href”:“http://localhost:8041/actuator/configprops”,“templated”:false},“env”:{“href”:“http://localhost:8041/actuator/env”,“templated”:false},“env-toMatch”:{“href”:“http://localhost:8041/actuator/env/{toMatch}”,“templated”:true},“info”:{“href”:“http://localhost:8041/actuator/info”,“templated”:false},“loggers-name”:{“href”:“http://localhost:8041/actuator/loggers/{name}”,“templated”:true},“loggers”:{“href”:“http://localhost:8041/actuator/loggers”,“templated”:false},“heapdump”:{“href”:“http://localhost:8041/actuator/heapdump”,“templated”:false},“threaddump”:{“href”:“http://localhost:8041/actuator/threaddump”,“templated”:false},“metrics”:{“href”:“http://localhost:8041/actuator/metrics”,“templated”:false},“metrics-requiredMetricName”:{“href”:“http://localhost:8041/actuator/metrics/{requiredMetricName}”,“templated”:true},“scheduledtasks”:{“href”:“http://localhost:8041/actuator/scheduledtasks”,“templated”:false},“httptrace”:{“href”:“http://localhost:8041/actuator/httptrace”,“templated”:false},“mappings”:{“href”:“http://localhost:8041/actuator/mappings”,“templated”:false},“refresh”:{“href”:“http://localhost:8041/actuator/refresh”,“templated”:false},“features”:{“href”:“http://localhost:8041/actuator/features”,“templated”:false},“service-registry”:{“href”:“http://localhost:8041/actuator/service-registry”,“templated”:false},“gateway”:{“href”:“http://localhost:8041/actuator/gateway”,"templated”:false}}}
但是访问
http://localhost:8041/actuator/gateway 404
yam配置文件中是这样的
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
gateway:
enabled: true
health:
show-details: always
环境的版本: spring boot 2.1.13.RELEASE spring cloud Greenwich.SR5 spring cloud alibaba 2.1.1.RELEASE
2回答
-
慕娘2474336
2020-12-09
请问解决了吗,遇到了同样的问题
012020-12-09 -
大目
2020-05-01
00
相似问题