***************************
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.
提示不能使用本地配置文件,需要改成复合文件,可以尝试将本地配置文件名修改为application.yml(.properties)
然后配置内添加:
spring:
profiles:
active: native
或
spring.profiles.active=native