The error when starting the service locally is as follows:
***************************
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.
This problem is a configuration problem. A certain configuration is invalid. I don’t understand the specific reason yet, but I solved it (if I know it later, I will continue to update here) Solution
:
The first
Restart, the premise is that there must be a configuration file locally.
If the restart is unsuccessful, delete it if it is written in the place shown in the figure below.
Friendly link: Play with Spring Cloud's Configuration Center
Configuration Center (Config-Server)