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 3.3.1.201403241930-r
(org.eclipse.jgit.http.apache.feature.group 3.3.1.201403241930-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 3.3.1.201403241930-r
(org.eclipse.jgit.http.apache.feature.group 3.3.1.201403241930-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 Eclipse?

    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.

  • each IntelliJ module to a different Git repository
  • How do I hide directories in Apache, specifically source-control?
  • Android Studio: SDK location changes for same project using Mac (OSX) and Windows
  • How to create an organized git repository for an Android project that uses a git submodule
  • Create Eclipse Project from Android Git
  • repo 'bisect' for debugging Android?
  • 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.

    1. Download the package from here:
      http://commons.apache.org/proper/commons-codec/download_codec.cgi
      Selecting the package under the “Binaries” section

    2. Unzip the file and extract “commons-codec-1.9.jar”

    3. Copy this Jar file to your Eclipse installation directory “Eclipse\plugins”

    4. Rename it with the name of your missing package.
      (In my case “org.apache.commons.codec.binary_1.4.0.jar”)

    5. 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 3.3.2.201404171909-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.

    Git Baby is a git and github fan, let's start git clone.