springcloudconfig客户端启动出现问题,
使用了bootstrap.yml确定其中内容应该没啥问题
报错:
Application failed to start due to an exception
org.springframework.cloud.config.client.ConfigServerConfigDataMissingEnvironmentPostProcessor$ImportException: No spring.config.import set
最后面给的描述:
***************************
APPLICATION FAILED TO START
***************************
Description:
No spring.config.import property has been defined
Action:
Add a spring.config.import=configserver: property to your configuration.
If configuration is not required add spring.config.import=optional:configserver: instead.
To disable this check, set spring.cloud.config.enabled=false or
spring.cloud.config.import-check.enabled=false.
我也尝试了使用它下面给的建议,但是还是报这个错误,各位小伙伴有碰见过吗?
问题解决请看 https://blog.csdn.net/lwd18175239125/article/details/115611470
不如,换一个配置中心呢?
我今天也遇到这个问题了,你这个问题怎么解决的?是因为版本问题?