Eclipse – Cannot complete the install because one or more required items could not be found (org.apache.httpcomponents.httpclient)
I am trying to install
Eclipse Git Team Provider and
JGit in my version of
Eclipse ADT via
Help > Install New Software > "EGit - http://download.eclipse.org/egit/updates" but the installation fails with this error…
Cannot complete the install because one or more required items could
not be found. Software being installed: Java implementation of Git –
optional Http support using Apache httpclient 22.214.171.124403241930-r
Missing requirement: Apache HttpComponents HttpClient OSGi bundle
4.1.3.v201209201135 (org.apache.httpcomponents.httpclient 4.1.3.v201209201135) requires ‘package org.apache.commons.codec.binary 1.4.0’ but it could not be found Cannot satisfy dependency:
From: Java implementation of Git – optional Http support using Apache httpclient 126.96.36.199403241930-r
To: org.apache.httpcomponents.httpclient [4.1.3.v201209201135]
How to Import Module without creating copy in Android Studio How To Stop Git-Bash command on windows videoplayer plugin not working for cordova/phonegap Git experimental branch or separate experimental repository? Android studio gitignore won't ignore .iml “Error: Python not found” when trying to access the android repository
It’s saying I need to install either
org.apache.httpcomponents.httpclient 4.1.3.v201209201135 or
package org.apache.commons.codec.binary 1.4.0 (although, I’m not clear which one is missing, or whether both are missing?)…
How do I add it/them to
I can find lots of info on how to add jars to the library of an individual project, but that’s not what I need as I think (correct me if I’m wrong) that I need to add them to Eclipse via
Help > Install New Software.
And I have seen lots of people post similar problems with other dependencies, but have not found an answer that explains how to add this particular software.
I’m new to Eclipse, so any help would be much appreciated.
5 Solutions collect form web for “Eclipse – Cannot complete the install because one or more required items could not be found (org.apache.httpcomponents.httpclient)”
I have found a solution to this problem, at least on my installation of Eclipse.
What I did was get the name of the missing package and googled it.
Download the package from here:
Selecting the package under the “Binaries” section
Unzip the file and extract “commons-codec-1.9.jar”
Copy this Jar file to your Eclipse installation directory “Eclipse\plugins”
Rename it with the name of your missing package.
(In my case “org.apache.commons.codec.binary_1.4.0.jar”)
Now repeat the steps to install EGit and it should work.
Obviously there are many things that could be different with your installation, I am using Eclipse version 4.2.0
I hope this helps.
I’m using Eclipse SDK Version: 4.2.2 and I faced the same problem as user1617737.
It’s a little obscure but I dare say the missing dependency is ‘package org.apache.commons.codec.binary 1.4.0’. I guess there is a problem with this JAR file in the EGit package itself.
Anyway, I was unable to find a solution, other than unmarking the following component to be installed:
Java implementation of Git – optional Http support using Apache httpclient 188.8.131.52404171909-r
In this way, EGit has been installed, though I don’t know what features I may be missing.
I had the same problem. I deleted an older version of org.apache.commons.codec.binary from the clipse/plugins directory. And placed the required “org.apache.commons.codec.binary 1.4.0.jar”. Then it worked.
I gave up in the end and used Eclipse Kepler, which worked fine.
Would be nice to know the solution though to the original problem if anyone knows it. I’m sure others will also get this problem.
I have the same problem with
Eclipse Indigo Version: 3.7.2. I tried to install older versions of EGit but still I had other problems. Finally EGit
version 1.3 was installed with success.