cr Unsatisfied dependency expressed through field 'restTempla

编程入门 行业动态 更新时间:2024-10-28 18:32:52

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/qq_38701478/article/details/88808628

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

https://wwwblogs/maigy/p/10739064.html

更多推荐

cr Unsatisfied dependency expressed through field 'restTempla

本文发布于:2023-06-13 14:47:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1382938.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:dependency   Unsatisfied   cr   restTempla   field

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!