とブートアクチュエータエンドポイントID昨日、私は春ブーツ2.0スナップショットを更新したときに、私はアノテーションを使用する場合、私は私のカスタマイズされたアクチュエータのエンドポイントがうまく動作しない見つかったような春春ブーツ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