어제, 나는 주석과 같은봄 부팅 액추에이터의 엔드 포인트 ID의 2.0
@Endpoint(id = "setupInfo")
I'v있어 예외를 사용할 때 내 사용자 정의 액츄에이터 엔드 포인트가 잘 작동하지 않습니다 발견 메시지와 같은 :
***************************
APPLICATION FAILED TO START
***************************
Description:
Configuration property name 'management.endpoint.setupInfo.cache.time-to-live' is not valid:
Invalid characters: 'I'
Bean: webMetricsFilter
Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
Action:
Modify 'management.endpoint.setupInfo.cache.time-to-live' so that it conforms to the canonical names requirements.
전으로 변경 한 경우 :
@Endpoint(id = "setup-info")
서비스가 규범을 시작합니다 누구나 종점 ID 이름 정책이 변경되었는지 알 수 있습니까?
오류 메시지에 당신이 사용하는'Camel Case'에 대한 이유와 그 명확한'Kebab Case'가 언급되어 있습니다 – MohamedSanaulla