在pom.xml中加入下面内容:
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> </dependency>
在pom.xml中加入下面内容:
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> </dependency>
转载于:https://www.cnblogs.com/beilong/p/6363398.html