Why am I seeing ‘error import org.apache.commons.httpclient.HttpClient’?

JFrog Support
2016-10-06 13:38

The ‘error import org.apache.commons.httpclient.HttpClient’ means that there is a missing .jar file in the Artifactory lib folder.

Since Artifactory version 3.5.3 we have removed the ‘commons-httpclient-3.1.jar’ from our library as it had no use for the internal Artifactory code nor the public API that is being used for the user plugin.

If your code requires this jar you can download it from here and place it on the '$ARTIFACTORY_HOME/etc/plugins/lib' folder.

Please note that you will need to remember to re-add this jar manually after each upgrade of Artifactory.