再springboot2 之后 actuator conditions替代了原autoconfig

之前版本的配置已经失效,如下

 

可使用 

management.security.enabled 过时

 

代替的全部放开请使用*,或把需要开放的接口端点使用“,”隔开,如:env,health。

访问地址变成了 http://localhost:8081/actuator/conditions

相关文章:

  • 2021-05-26
  • 2021-12-06
  • 2021-07-17
  • 2021-11-26
  • 2022-02-04
  • 2021-09-23
  • 2021-10-16
  • 2021-12-15
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2021-03-31
  • 2021-12-08
  • 2021-10-23
  • 2021-06-10
相关资源
相似解决方案