mercurial plugin in eclipse- Cannot satisfy dependency Error

1.5k Views Asked by At

I am facing below issue while trying to install mercurialEclipse plugin using below site via install new software of Eclipse.

mercurial site - https://bitbucket.org/mercurialeclipse/update-site/raw/default/

Eclipse version- Luna Service Release 2 (4.4.2)

    Error - Cannot complete the install because one or more required items could not be found.
    Software currently installed: MercurialEclipse 2.5.2.201806082050 (mercurialeclipse.feature.group 2.5.2.201806082050)
    Missing requirement: MercurialEclipse 2.5.2.201806082050 (com.vectrace.MercurialEclipse 2.5.2.201806082050) requires 'bundle org.eclipse.jface.text 3.11.0' but it could not be found
    Cannot satisfy dependency:
    From: MercurialEclipse 2.5.2.201806082050 (mercurialeclipse.feature.group 2.5.2.201806082050)
    To: com.vectrace.MercurialEclipse [2.5.2.201806082050]

Please help me resolve it.

Also note that I already have TortoiseHg installed on my system. And I have already taken help from below links without any luck-

error in installing mercurial plugin for eclipse

Mercurial Eclipse Plugin

3

There are 3 best solutions below

2
greg-449 On BEST ANSWER

The key part of the error message is "requires 'bundle org.eclipse.jface.text 3.11.0'".

This is saying that at least version 3.11.0 of the org.eclipse.jface.text plugin is required. This version of the plugin was first released in Eclipse Neon (4.6) - so your Eclipse Luna is too old. You will need to move to a newer version of Eclipse to use this plugin.

0
AbVog On

I am the current maintainer of MercurialEclipse. Like Greg said, you are facing this error message because you are trying to install the plugin on a platform with which it is not compatible.

The last couple of major releases require Neon, which is for the foreseeable future the baseline. This requirement for Neon is in turn due to a requirement for Java 8 in JavaHg and (if I'm not mistaken) Eclipse itself.

It is unfortunate that users cannot have a more explicit error message such as "this plugin requires Eclipse Neon or later versions".

FYI, Release Notes are published on the very website you linked to on Bitbucket. You will also find in the Wiki a compatibility table with Mercurial proper, as well as with Eclipse. I also state the requirements or other impacting changes when I send the release announcement e-mail.

1
karl368 On

It is not good solution, but I can see it work: just ask other guys copy the 2.1 version files to you, and you can place them in eclipse feature & plugin folders.

The files are:
1. \features\mercurialeclipse_2.1.0.201304290948
2. \plugins\com.vectrace.MercurialEclipse_2.1.0.201304290948.jar