报错:
启动完注册中心、配置中心、在启动客户端时,如报错:
Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'common_service_config' in value "${common_service_config}"
原因是:客户端的应用名和配置文件的应用名没有一致
本客户端的应用名为:bi-service。
在配置文件里应该叫bi-service-dev.properties。如果前面不一致的话,是找不到配置文件,继而也找不到配置内容
具体配置详见我的另一篇文章