在使用yml编写配置我呢见

management:
  endpoints:
    web:
      base-path: /actuator
    jmx:
      exposure:
        include: *

报了如下错误

SpringBoot配置文件yml  ScannerException: while scanning an alias *

 

 

解决方案:

   给 * 加上 ''  变为 '*'

management:
  endpoints:
    web:
      base-path: /actuator
    jmx:
      exposure:
        include: '*'

 

 

相关文章:

  • 2022-12-23
  • 2021-06-28
  • 2021-06-28
  • 2021-08-21
  • 2021-09-17
  • 2021-04-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-15
  • 2021-08-19
  • 2022-01-07
  • 2021-08-27
  • 2022-12-23
相关资源
相似解决方案