pom.xml:
Код: Выделить всё
org.springframework.boot
spring-boot-actuator
org.springframework.boot
spring-boot-starter-actuator
- https://blog.jdriven.com/2018/10/get-yo ... ring-boot/
- https://www.vojtechruzicka.com/spring-boot-version/
- /actuator/info Конечная точка не работает с Spring Boot 2.5.0
Код: Выделить всё
#general properties
management:
endpoint:
info:
enabled: true
endpoints:
info:
enabled: true
#custom properties
info:
app:
name: Spring Sample Application
description: "spring application
version: '1.0.0'"
Но мне никогда не удавалось отобразить что-либо на вкладке /info, там это всего лишь символы { }.
Кто-нибудь знает, что я сделал не так и как отобразить версию моего приложения в /actuator/info?
Подробнее здесь: https://stackoverflow.com/questions/744 ... nd-app-yml
Мобильная версия