Maven package org.apache.commons.httpclient.methods does not exist

Apache commons http client has two versions

https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient

https://mvnrepository.com/artifact/commons-httpclient/commons-httpclient

From

https://stackoverflow.com/questions/10986661/apache-httpclient-does-not-exist-error

Solution:

Use older version of the client

<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>



No comments:

Post a Comment

Please share your views and comments below.

Thank You.