SpringCloud
qq_17394183
这个作者很懒,什么都没留下…
展开
-
SpringCloud搭建Feign遇到的坑
在feign启动类中要加入scanbasePackages注解,org.bi.service对应的路径是@FeignClient注解所在的路径@SpringBootApplication(scanBasePackages = “org.bi.service”)当遇到多个参数时,需要为每个参数添加@PathVariable注解,否则在启动编译时报错,提body类型的入参太多。...原创 2018-12-13 20:08:15 · 1182 阅读 · 0 评论 -
【Spring Cloud】服务启动过程中连接Fetching config from server at : http://localhost:8888
1、微服务启动报错:2019-05-06 15:10:31.436 INFO 20248 — [ restartedMain] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at : http://localhost:88882019-05-06 15:10:32.533 INFO 20248...原创 2019-05-06 16:51:23 · 17819 阅读 · 8 评论