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