当我尝试自动连接SpringRestTemplate时,我得到了以下错误:
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.web.client.RestTemplate] found for dependency: expected在注释驱动的环境中使用Spring4。" cl
我使用rest模板构建器创建了这个rest模板,并设置了连接和读取超时。我需要从程序中的其他方法调用此rest模板,但不确定如何做到这一点。请帮帮忙,提前谢谢!create rest template with rest template builder and set connection and read timeouts @Bean
retu