cr Unsatisfied dependency expressed through field 'restTempla

creating bean with name ‘juHeController’: Unsatisfied dependency expressed through field ‘restTemplate’; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.springframework.web.client.RestTemplate’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

creating bean with name ‘juHeController’: Unsatisfied dependency expressed through field ‘restTemplate’; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.springframework.web.client.RestTemplate’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
您输入的可能是: 法语

正在创建名为“juHeController”的bean:通过字段“restTemplate”表示的未满足的依赖关系;嵌套异常为org.springframework.beans.factory.NoSuchBeanDefinitionException:没有“org.springframework.web.client.restTemplate”类型的限定bean可用:至少需要1个符合autowire候选条件的bean。依赖项批注:{@org.springframework.beans.factory.annotation.Autowired(必需=true)}

解决:
https://blog.csdn.net/qq_38701478/article/details/88808628

https://blog.csdn.net/weixin_44312349/article/details/89703036

https://www.cnblogs.com/maigy/p/10739064.html

你可能感兴趣的:(BUG)