Eclipse RCP export: missing dependencies in target platform - eclipse-rcp

I am trying to build existing RCP application against new target platform in order to get macosx(cocoa/aarch64). Using this update site: https://download.eclipse.org/eclipse/updates/4.23-I-builds.
The application works fine but when trying to export the RCP product with the wizard I get the following errors in the pde build log file:
Property "p2.director.log" has not been set
[p2.director] Installing com.client.product 5.1.0.
[p2.director] Installation failed.
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: PRODUCT 5.1.0 (com.client.product 5.1.0)
[p2.director] Missing requirement: Equinox p2, headless functionalities 1.6.1300.v20220127-1112 (org.eclipse.equinox.p2.core.feature.feature.group 1.6.1300.v20220127-1112) requires 'org.eclipse.equinox.p2.iu; org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group [1.0.0,2.0.0)' but it could not be found
[p2.director] Cannot satisfy dependency:
[p2.director] From: PRODUCT 5.1.0 (com.client.product 5.1.0)
[p2.director] To: org.eclipse.equinox.p2.iu; org.eclipse.equinox.p2.core.feature.feature.group [1.6.1300.v20220127-1112,1.6.1300.v20220127-1112]
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: PRODUCT 5.1.0 (com.client.product 5.1.0)
[p2.director] Missing requirement: Equinox p2, headless functionalities 1.6.1300.v20220127-1112 (org.eclipse.equinox.p2.core.feature.feature.group 1.6.1300.v20220127-1112) requires 'org.eclipse.equinox.p2.iu; org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group [1.0.0,2.0.0)' but it could not be found
[p2.director] Cannot satisfy dependency:
A problem occured while invoking the director.
runDirector: duration 0 seconds
It appears that the following plugins can't be found:
org.eclipse.equinox.p2.iu;
org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group
What should I include in my target platform in order to resolve this?

Related

Eclipse RCP product export: Cannot satisfy slf4j dependency

I am building existing RCP application against this target platform:
The PDE build worked fine just few weeks ago and then something happened, presumably Eclipse updated itself? or something like this.. Now I am getting this dependency error which makes no sense because by the look of it the required plugin and exported package is present in the target platform. If I disable p2 "Generate p2 repository" in the export dialog, the build works fine.
Property "p2.director.log" has not been set
[p2.director] Installing com.myclient.product 5.2.0.
[p2.director] Installation failed.
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: logFaces 5.2.0 (com.myclient.product 5.2.0)
[p2.director] Missing requirement: Apache HttpClient 5.1.2.v20211217-1500 (org.apache.httpcomponents.client5.httpclient5 5.1.2.v20211217-1500) requires 'java.package; org.slf4j [1.7.25,2.0.0)' but it could not be found
[p2.director] Cannot satisfy dependency:
[p2.director] From: logFaces 5.2.0 (com.myclient.product 5.2.0)
[p2.director] To: org.eclipse.equinox.p2.iu; org.eclipse.equinox.p2.core.feature.feature.group [1.6.1300.v20220223-1131,1.6.1300.v20220223-1131]
[p2.director] Cannot satisfy dependency:
[p2.director] From: ECF Apache Httpclient 5 FileTransfer Provider 1.1.600.v20220215-0126 (org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group 1.1.600.v20220215-0126)
[p2.director] To: org.eclipse.equinox.p2.iu; org.apache.httpcomponents.client5.httpclient5 [5.1.2.v20211217-1500,5.1.2.v20211217-1500]
[p2.director] Cannot satisfy dependency:
[p2.director] From: Equinox p2, headless functionalities 1.6.1300.v20220223-1131 (org.eclipse.equinox.p2.core.feature.feature.group 1.6.1300.v20220223-1131)
[p2.director] To: org.eclipse.equinox.p2.iu; org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group [1.0.0,2.0.0)
[p2.director] Cannot complete the install because one or more required items could not be found.
[p2.director] Software being installed: logFaces 5.2.0 (com.myclient.product 5.2.0)
[p2.director] Missing requirement: Apache HttpClient 5.1.2.v20211217-1500 (org.apache.httpcomponents.client5.httpclient5 5.1.2.v20211217-1500) requires 'java.package; org.slf4j [1.7.25,2.0.0)' but it could not be found
[p2.director] Cannot satisfy dependency:
[p2.director] Cannot satisfy dependency:
[p2.director] Cannot satisfy dependency:
A problem occured while invoking the director.
runDirector: duration 0 seconds
I would appreciate any help from the community on this one, thank you in advance!

Eclipse Check for Updates says "The operation cannot be completed"

I tried to update Eclipse Version: 2021-09 (4.21.0) to the latest release and getting the following failure -
Cannot complete the install because of a conflicting dependency.
Software being installed: M2E - Maven Integration for Eclipse 2.0.4.20220904-1703 (org.eclipse.m2e.feature.feature.group 2.0.4.20220904-1703)
Software currently installed: m2e-wtp - JPA configurator for WTP (Optional) 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.4.4.20201128-1705)
Only one of the following can be installed at once:
M2E Maven Integration for Eclipse Core 2.0.3.20220904-1703 (org.eclipse.m2e.core 2.0.3.20220904-1703)
Maven Integration for Eclipse 1.18.1.20210614-1604 (org.eclipse.m2e.core 1.18.1.20210614-1604)
Cannot satisfy dependency:
From: M2E - Maven Integration for Eclipse 2.0.4.20220904-1703 (org.eclipse.m2e.feature.feature.group 2.0.4.20220904-1703)
To: org.eclipse.equinox.p2.iu; org.eclipse.m2e.core [2.0.3.20220904-1703,2.0.3.20220904-1703]
Cannot satisfy dependency:
From: Maven JPA Configurator 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa 1.4.4.20201128-1705)
To: osgi.bundle; org.eclipse.m2e.core [1.6.0,2.0.0)
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.4.4.20201128-1705 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.4.4.20201128-1705)
To: org.eclipse.equinox.p2.iu; org.eclipse.m2e.wtp.jpa [1.4.4.20201128-1705,1.4.4.20201128-1705]
Actually I didn't install "M2E - Maven Integration for Eclipse" manually, it is packaged with "Eclipse IDE for Enterprise Java and Web Developers". As suggested I uninstalled it. Now I am getting the following failure -
Cannot complete the install because of a conflicting dependency.
Software being installed: SWT Tools 3.108.600.v20220826-1037 (org.eclipse.swt.tools.feature.feature.group 3.108.600.v20220826-1037)
Software currently installed: SWT Tools Developer Resources 3.108.300.v20211104-1108 (org.eclipse.swt.tools.feature.source.feature.group 3.108.300.v20211104-1108)
Only one of the following can be installed at once:
SWT Tools 3.108.600.v20220826-1037 (org.eclipse.swt.tools.feature.feature.jar 3.108.600.v20220826-1037)
SWT Tools 3.108.300.v20211104-1108 (org.eclipse.swt.tools.feature.feature.jar 3.108.300.v20211104-1108)
Cannot satisfy dependency:
From: SWT Tools 3.108.300.v20211104-1108 (org.eclipse.swt.tools.feature.feature.group 3.108.300.v20211104-1108)
To: org.eclipse.equinox.p2.iu; org.eclipse.swt.tools.feature.feature.jar [3.108.300.v20211104-1108,3.108.300.v20211104-1108]
Cannot satisfy dependency:
From: SWT Tools 3.108.600.v20220826-1037 (org.eclipse.swt.tools.feature.feature.group 3.108.600.v20220826-1037)
To: org.eclipse.equinox.p2.iu; org.eclipse.swt.tools.feature.feature.jar [3.108.600.v20220826-1037,3.108.600.v20220826-1037]
Cannot satisfy dependency:
From: SWT Tools Developer Resources 3.108.300.v20211104-1108 (org.eclipse.swt.tools.feature.source.feature.group 3.108.300.v20211104-1108)
To: org.eclipse.equinox.p2.iu; org.eclipse.swt.tools.feature.feature.group [3.108.300.v20211104-1108,3.108.300.v20211104-1108]
For testing purpose I tried to update a freshly downloaded 2021-09 (4.21.0) and getting the following failure -
Cannot complete the install because of a conflicting dependency.
Software being installed: Git integration for Eclipse 6.3.0.202209071007-r (org.eclipse.egit.feature.group 6.3.0.202209071007-r)
Software currently installed: Git integration for Eclipse - Task focused interface 5.13.0.202109080827-r (org.eclipse.egit.mylyn.feature.group 5.13.0.202109080827-r)
Only one of the following can be installed at once:
Git integration for Eclipse - Core 5.13.0.202109080827-r (org.eclipse.egit.core 5.13.0.202109080827-r)
Git integration for Eclipse - Core 6.3.0.202209071007-r (org.eclipse.egit.core 6.3.0.202209071007-r)
Cannot satisfy dependency:
From: Git integration for Eclipse 6.3.0.202209071007-r (org.eclipse.egit.feature.group 6.3.0.202209071007-r)
To: org.eclipse.equinox.p2.iu; org.eclipse.egit.core [6.3.0.202209071007-r,6.3.0.202209071007-r]
Cannot satisfy dependency:
From: Git integration for Eclipse - Task focused interface 5.13.0.202109080827-r (org.eclipse.egit.mylyn.feature.group 5.13.0.202109080827-r)
To: org.eclipse.equinox.p2.iu; org.eclipse.egit.mylyn.ui [5.13.0.202109080827-r,5.13.0.202109080827-r]
Cannot satisfy dependency:
From: EGit Mylyn UI 5.13.0.202109080827-r (org.eclipse.egit.mylyn.ui 5.13.0.202109080827-r)
To: java.package; org.eclipse.egit.core [5.13.0,5.14.0)

Helios unable to install Maven plugin

I am using Helios Service Release 2 and I am trying to install maven plugin to create new Maven project. But when trying to install maven using http://download.eclipse.org/technology/m2e/releases I am getting below exception
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes
Incubating components) 1.8.1.20170728-1531
(org.eclipse.m2e.feature.feature.group 1.8.1.20170728-1531)
Missing requirement: Maven Integration for Eclipse 1.8.1.20170728-
1531 (org.eclipse.m2e.core 1.8.1.20170728-1531) requires 'bundle
org.eclipse.osgi 3.10.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse 1.8.1.20170728-1531
(org.eclipse.m2e.core.ui 1.8.1.20170728-1531)
To: bundle org.eclipse.m2e.core [1.8.1,1.9.0)
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components)
1.8.1.20170728-1531 (org.eclipse.m2e.feature.feature.group 1.8.1.20170728-1531)
To: org.eclipse.m2e.core.ui [1.8.1.20170728-1531]
You must add the latest Orbit site to your update site :
http://download.eclipse.org/tools/orbit/downloads/drops/R20170516192513/repository/
and then make the upgrade.

Eclipse Indigo STS + JBoss Tools

I cannot install JBoss Tools on my Indigo. I open supermarket and install current version for my eclipse or I try to open Install new software from link (http://download.jboss.org/jbosstools/updates/stable/indigo/) but i still has got the same error:
Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss Central Community 1.0.1.v20120715-0355-H112-Final (org.jboss.tools.community.central.feature.feature.group 1.0.1.v20120715-0355-H112-Final)
Software currently installed: Spring IDE AOP Extension (optional) 3.1.0.201210040510-RELEASE (org.springframework.ide.eclipse.aop.feature.feature.group 3.1.0.201210040510-RELEASE)
Only one of the following can be installed at once:
Mylyn Commons UI 3.8.1.v20120725-0100 (org.eclipse.mylyn.commons.ui 3.8.1.v20120725-0100)
Mylyn Commons UI 3.6.1.v20110720-0100 (org.eclipse.mylyn.commons.ui 3.6.1.v20110720-0100)
Mylyn Commons UI 3.8.2.v20120916-1200 (org.eclipse.mylyn.commons.ui 3.8.2.v20120916-1200)
Mylyn Commons UI 3.8.0.v20120612-0600 (org.eclipse.mylyn.commons.ui 3.8.0.v20120612-0600)
Mylyn Commons UI 3.6.0.v20110608-1400 (org.eclipse.mylyn.commons.ui 3.6.0.v20110608-1400)
Cannot satisfy dependency:
From: JBoss Central 1.0.1.v20120715-0355-H112-Final (org.jboss.tools.central 1.0.1.v20120715-0355-H112-Final)
To: bundle org.eclipse.mylyn.commons.ui [3.6.0,3.8.0)
Cannot satisfy dependency:
From: JBoss Central 1.0.1.v20120715-0355-H112-Final (org.jboss.tools.central.feature.feature.group 1.0.1.v20120715-0355-H112-Final)
To: org.jboss.tools.central [1.0.1.v20120715-0355-H112-Final]
Cannot satisfy dependency:
From: JBoss Central Community 1.0.1.v20120715-0355-H112-Final (org.jboss.tools.community.central.feature.feature.group 1.0.1.v20120715-0355-H112-Final)
To: org.jboss.tools.central.feature.feature.group 1.0.0.qualifier
Cannot satisfy dependency:
From: Spring IDE AOP Extension (optional) 3.1.0.201210040510-RELEASE (org.springframework.ide.eclipse.aop.feature.feature.group 3.1.0.201210040510-RELEASE)
To: org.springframework.ide.eclipse.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: Spring IDE Configuration Graphical Editing 3.1.0.201210040510-RELEASE (org.springframework.ide.eclipse.config.graph 3.1.0.201210040510-RELEASE)
To: bundle org.eclipse.mylyn.commons.ui [3.7.0,4.0.0)
Cannot satisfy dependency:
From: Spring IDE Core (required) 3.1.0.201210040510-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.1.0.201210040510-RELEASE)
To: org.springframework.ide.eclipse.config.graph [3.1.0.201210040510-RELEASE]
Using Eclipse Indigo.
I installed the STS plugin first.
Then when I attempted to install the Jboss tools plugin. I received the same error.
I unchecked JBoss Central Community, and JBoss Tools Common - Mylyn. Pressed Next (no errors this time).
After doing so you have to restart the IDE. You should now have both plugins.
Please TRY
Eclipse 3.7.2 Platform Runtime Binary INDIGO SR2 IDE for JAVA EE DEVELOPERS
And then go for JBOSS tool.
Follow this link
http://www.jboss.org/tools/download/installation/update_3_3

jboss tools installation error in eclipse

I've installed Java 7, Eclipse indigo and downloaded Jboss AS 7.1.1. Now i would like to install jboss tools using eclipse marketplace, but I'm receiving these dependency conflicts every time...
I'm getting the errors mentioned in the unsuccessful installations tab located here
Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss Central 1.0.0.v20120307-1926-H67-Beta1 (org.jboss.tools.central.feature.feature.group 1.0.0.v20120307-1926-H67-Beta1)
Software currently installed: Eclipse IDE for Java EE Developers 1.4.0.20110615-0550 (epp.package.jee 1.4.0.20110615-0550)
Only one of the following can be installed at once:
Equinox Java Authentication and Authorization Service (JAAS) 1.0.200.v20100503 (org.eclipse.equinox.security 1.0.200.v20100503)
Equinox Java Authentication and Authorization Service (JAAS) 1.1.1.R37x_v20110822-1018 (org.eclipse.equinox.security 1.1.1.R37x_v20110822-1018)
Equinox Java Authentication and Authorization Service (JAAS) 1.1.0.v20110502 (org.eclipse.equinox.security 1.1.0.v20110502)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.4.0.20110615-0550 (epp.package.jee 1.4.0.20110615-0550)
To: org.eclipse.epp.package.jee.feature.feature.group [1.4.0.20110615-0550]
Cannot satisfy dependency:
From: Java EE IDE Feature 1.4.0.20110615-0550 (org.eclipse.epp.package.jee.feature.feature.group 1.4.0.20110615-0550)
To: org.eclipse.platform.feature.group [3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f (org.eclipse.platform.feature.group 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f)
To: org.eclipse.equinox.security [1.1.0.v20110502]
Cannot satisfy dependency:
From: JBoss AS Core Plug-in 2.3.0.v20120321-1339-H91-Beta2 (org.jboss.ide.eclipse.as.core 2.3.0.v20120321-1339-H91-Beta2)
To: bundle org.eclipse.equinox.security 1.1.1
Cannot satisfy dependency:
From: JBoss Central 1.0.0.v20120307-1926-H67-Beta1 (org.jboss.tools.central 1.0.0.v20120307-1926-H67-Beta1)
To: bundle org.jboss.tools.project.examples 0.0.0
Cannot satisfy dependency:
From: JBoss Central 1.0.0.v20120307-1926-H67-Beta1 (org.jboss.tools.central.feature.feature.group 1.0.0.v20120307-1926-H67-Beta1)
To: org.jboss.tools.central [1.0.0.v20120307-1926-H67-Beta1]
Cannot satisfy dependency:
From: Project Examples 1.2.1.v20120320-2046-H78-Beta2 (org.jboss.tools.project.examples 1.2.1.v20120320-2046-H78-Beta2)
To: bundle org.jboss.tools.seam.core 0.0.0
Cannot satisfy dependency:
From: Seam Tools 3.3.0.v20120302-2019-H81-Beta1 (org.jboss.tools.seam.core 3.3.0.v20120302-2019-H81-Beta1)
To: bundle org.jboss.ide.eclipse.as.core 0.0.0
Please help me...
I too faced this issue. I could resolve the issue by first updating the Eclipse (Help --> Check for Updates) and then install the jboss tools.
Have you tried using the JDK 6? I had the same problem with JBoss 7, Indigo and JDK 7. Switching back to JDK 6 and wiping out all my other JDK instances worked for me. Make sure that you update indigo (as admin or root) as well.
Hope that helps a little.