You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a demo use zookeeper use the fegin default enable ribbon,but it did'nt work for PATCH method,
I had Add the Apache Client,But i remove zookeper,just use the Ribbo setting ribbon.listofServers,it workwd! what's wrong with my demo
the line @Autowired(required = false) private LoadBalancerFeignClient ribbonClient; just null,is the problem? where I can enble inject a ribbonClient instance?
the I see the file part of RibbonAutoConfiguration as :
I wrote a demo use zookeeper use the fegin default enable ribbon,but it did'nt work for PATCH method,
I had Add the Apache Client,But i remove zookeper,just use the Ribbo setting
ribbon.listofServers
,it workwd! what's wrong with my demoI debug it. the auto configuration class:
the line
@Autowired(required = false) private LoadBalancerFeignClient ribbonClient;
just null,is the problem? where I can enble inject a ribbonClient instance?the I see the file part of RibbonAutoConfiguration as :
the last method look like desn't create the the
LoadBalancerClient
..anybody can help,I had confused a few day...and the ask an issuse in
spring-cloud-netflix
as #2550The text was updated successfully, but these errors were encountered: