Config启动报错: git プロファイルを使用している場合は、構成で Git URI を設定する必要があります。

サービスをローカルで開始するときのエラーは次のとおりです。

***************************
APPLICATION FAILED TO START
***************************

Description:

Invalid config server configuration.

Action:

If you are using the git profile, you need to set a Git URI in your configuration.  If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.

ここに画像の説明を挿入
この問題は設定の問題です。特定の設定が無効です。具体的な理由はまだわかりませんが、解決しました(後でわかったら、ここで更新し続けます)

最初

ここに画像の説明を挿入
ここに画像の説明を挿入

ここに画像の説明を挿入
再起動はローカルに設定ファイルがあることが前提です
ここに画像の説明を挿入
再起動に失敗した場合は、下図の場所に書かれていれば削除してください フレンドリー
ここに画像の説明を挿入
リンク: Spring CloudのConfiguration Centerで遊ぶ
Configuration Center (Config-Server) )

おすすめ

転載: blog.csdn.net/qq_42071369/article/details/120829597