症状
During installation you may receive an error message similar to one of these:
Missing requirement: Atlassian JIRA Connector (Recommended) 3.2.2.v20130909 (com.atlassian.connector.eclipse.jira.feature.group 3.2.2.v20130909) requires 'org.eclipse.mylyn.commons.soap [3.2.0,4.0.0)' but it could not be found
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.1.v3449c,3.4.1.v3449c! and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.swt/[3.4.0.v3448f,3.4.0.v3448f! can be satisfied.
Unsatisfied dependency: [org.eclipse.mylyn.commons.soap 3.1.0.I20090109-0100-e3x] requiredCapability: osgi.bundle/org.eclipse.mylyn.commons.net/[3.1.0,4.0.0)Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements org.eclipse.pde.feature.jar [3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC].Cannot complete the install because one or more required items could not be found.
Software being installed: Atlassian Connector for Eclipse (recommended) 1.1.0.v20090624 (com.atlassian.connector.eclipse.feature.group 1.1.0.v20090624)
Missing requirement: Atlassian Connector for Eclipse (recommended) 1.1.0.v20090624 (com.atlassian.connector.eclipse.feature.group 1.1.0.v20090624) requires 'org.eclipse.mylyn.jira_feature.feature.group [3.2.0.I20090529,3.3.0)' but it could not be found
原因
This is most likely an error from P2 (Eclipse's update mechanism in Eclipse 3.4 and higher). The problem seems to be that the Mylyn update site is not enabled or does not exist in your copy of Eclipse even though we specify that we require it for installation.
If any of the installed features have unsatisfied dependencies, P2 may fail with an error similar to the one above.
ソリューション
Follow these steps to enable/add the required update site:
- In Eclipse, open 'Help', 'Software Updates'.
- Click the 'Available Software' tab.
- Click 'Manage Sites'.
Look for either the 'Mylyn' update site or a URL that looks like this:
http://archive.eclipse.org/mylyn/drops/3.8.4/v20130429-0100
- Make sure that the site or URL is checked or add it if not present.
- Try to install the Atlassian Connector for Eclipse again.
詳細情報
- The Mylyn FAQ.
Illustration
Here is a screenshot showing an example of one such error message:
3 Comments
Anonymous
Eclipse 3.5 on Linux doesn't display org.eclipse.mylyn.jira_feature.feature.group [3.2.0.I20090529,3.3.0] under the update site http://download.eclipse.org/tools/mylyn/update/extras. It only contains the 3.1 version.
Anonymous
Actually, what fixed it for me was removing the Mylyn Extras site and adding it back in. Once I re-added the update site, the the 3.2 version was visible in the list.
Anonymous
Adding and removing the mylyn extras did the trick with Galileo on osx as well.
Enabling/disabling didn't help. Thanks for the tip.