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 184.108.40.206403241930-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 220.127.116.11403241930-r
To: org.apache.httpcomponents.httpclient [4.1.3.v201209201135]
Storing Android eclipse projects in version control? What is Repo and Why does Google use it? How to get SVN revision in Gradle for Android? “ Emulator did not appear to start; giving up” How to write a Git pre-commit hook that prevents committing of an Android project if the test project fails? Continuous integration with Android
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 18.104.22.168404171909-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.