springboot使用 restTemplate报以下错误
原来是包少引入导致的,加上下面的
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
springboot使用 restTemplate报以下错误
原来是包少引入导致的,加上下面的
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>