A component required a bean of type 'com.netflix.client.config.IClientConfig' that could not be found
解決方法:
如果ribbon策略配置類放在主程序SpringBootApplication同包目錄下會發生未知異常,這是由於Spring boot的主程序會去掃描同一個層級目錄下的文件,這裏有兩種辦法可以解決:http://yayihouse.com/yayishuwu/chapter/2645