【问题标题】:Actuator Refresh is giving 404 error for springboot 2.2.7执行器刷新为 spring boot 2.2.7 提供 404 错误
【发布时间】:2020-11-25 12:02:23
【问题描述】:

我正在尝试使用 springboot 2.2.7 来使用执行器刷新端点。但我面临 404 错误。

我的端点是一个 POST 调用

http://localhost:8080/actuator/refresh

回应:

{ "时间戳": "2020-11-25T11:50:01.172+0000", “状态”:404, “错误”:“未找到”, "message": "没有可用的消息", “路径”:“/执行器/刷新” }

有人可以帮我解决同样的问题吗?在这里卡了将近半天。

此执行器刷新仅适用于 spring cloud 吗?或者可以在不重启 pod 的情况下用于任何 bean 配置刷新?

【问题讨论】:

    标签: spring-boot refresh spring-boot-actuator


    【解决方案1】:

    你能尝试安装 curl-7.76.0-win64-mingw curl -XPOST "http://localhost:8080/actuator/refresh"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-10
      • 1970-01-01
      • 2017-11-02
      • 2017-09-06
      • 2018-06-26
      • 1970-01-01
      • 2020-09-09
      • 1970-01-01
      相关资源
      最近更新 更多