spring cloud congfingClient无法取到值,启动时报错

configServer是可以正常读取到git上文件的,configClient启动时报错org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configClientController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'profile' in value "${profile}"

繁花如伊
浏览 1011回答 2
2回答

慕尼黑的夜晚无繁华

:Spring Cloud主要有以下特点:1. 是一套完整的分布式系统解决方案,它的子项目涵盖了所有实现布式系统所需要的基础设施2. 基于Spring Boot, 使得开发部署极其简单(加依赖,加注解,就能运行了)要说Dubbo,算是Spring Cloud的一个子集好了,

米琪卡哇伊

你这个最佳答案是怎么选的?
打开App,查看更多内容
随时随地看视频慕课网APP