Eclipse RCP product export: Cannot satisfy slf4j dependency - eclipse-rcp

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!

Related

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)

Eclipse RCP export: missing dependencies in target platform

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?

Cannot install EclEmma in Eclipse Indigo

I tried to install EclEmma and Eclipse Indigo won't let me. I get the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: EclEmma Java Code Coverage 3.0.0.201706140232
(org.eclipse.eclemma.feature.feature.group 3.0.0.201706140232)
Software currently installed: Eclipse IDE for Java EE Developers
1.4.2.20120213-0813 (epp.package.jee 1.4.2.20120213-0813)
Only one of the following can be installed at once:
Eclipse Workbench User Guide 3.7.0.v20110601-0800
(org.eclipse.platform.doc.user 3.7.0.v20110601-0800)
Eclipse Workbench User Guide 3.7.1.r372_v20111202
(org.eclipse.platform.doc.user 3.7.1.r372_v20111202)
Eclipse Workbench User Guide 4.5.0.v20150603-2358
(org.eclipse.platform.doc.user 4.5.0.v20150603-2358)
Eclipse Workbench User Guide 4.5.1.v20150819-1130
(org.eclipse.platform.doc.user 4.5.1.v20150819-1130)
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.4.2.20120213-0813
(epp.package.jee 1.4.2.20120213-0813)
To: org.eclipse.epp.package.jee.feature.feature.group [1.4.2.20120213-0813]
Cannot satisfy dependency:
From: EclEmma Java Code Coverage 3.0.0.201706140232
(org.eclipse.eclemma.feature.feature.group 3.0.0.201706140232)
To: org.eclipse.platform.feature.group 3.8.0
Cannot satisfy dependency:
From: Java EE IDE Feature 1.4.2.20120213-0813
(org.eclipse.epp.package.jee.feature.feature.group 1.4.2.20120213-0813)
To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-
PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-
PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group
3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
To: org.eclipse.platform.doc.user [3.7.1.r372_v20111202]
Cannot satisfy dependency:
From: Eclipse Platform 4.5.0.v20150603-2358
(org.eclipse.platform.feature.group 4.5.0.v20150603-2358)
To: org.eclipse.platform.doc.user [4.5.0.v20150603-2358]
Cannot satisfy dependency:
From: Eclipse Platform 4.5.1.v20150904-0015
(org.eclipse.platform.feature.group 4.5.1.v20150904-0015)
To: org.eclipse.platform.doc.user [4.5.1.v20150819-1130]
Cannot satisfy dependency:
From: Eclipse Platform 4.5.2.v20160212-1500
(org.eclipse.platform.feature.group 4.5.2.v20160212-1500)
To: org.eclipse.platform.doc.user [4.5.1.v20150819-1130]
What am I supposed to do or uninstall? I think it is another plug in or something that's causing a conflict

Install Aptana twig plugin

I cant install twig on Aptana 3.5 (latest).
Someone got it working?
Cannot complete the install because of a conflicting dependency.
Software being installed: Twig Editor Feature 1.0.13.201309142024 (com.dubture.twig.feature.feature.group 1.0.13.201309142024)
Software currently installed: Aptana Studio 3 3.5.0.201401092130-09012014213131 (com.aptana.rcp.product 3.5.0.201401092130-09012014213131)
Only one of the following can be installed at once:
International Components for Unicode for Java (ICU4J) 50.1.1.v201304230130 (com.ibm.icu 50.1.1.v201304230130)
International Components for Unicode for Java (ICU4J) 4.4.2.v20110823 (com.ibm.icu 4.4.2.v20110823)
International Components for Unicode for Java (ICU4J) 4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822)
International Components for Unicode for Java (ICU4J) 4.0.1.v20090415 (com.ibm.icu 4.0.1.v20090415)
Cannot satisfy dependency:
From: Aptana Studio 3 RCP 3.5.0.201401092130-7q7dFA-FEB7f0RnEDkUtiuDg8D48 (com.aptana.feature.rcp.feature.group 3.5.0.201401092130-7q7dFA-FEB7f0RnEDkUtiuDg8D48)
To: org.eclipse.platform.feature.group [4.3.1.v20130911-1000]
Cannot satisfy dependency:
From: Aptana Studio 3 3.5.0.201401092130-09012014213131 (com.aptana.rcp.product 3.5.0.201401092130-09012014213131)
To: com.aptana.feature.rcp.feature.group [3.5.0.201401092130-7q7dFA-FEB7f0RnEDkUtiuDg8D48]
Cannot satisfy dependency:
From: Twig Editor Feature 1.0.13.201309142024 (com.dubture.twig.feature.feature.group 1.0.13.201309142024)
To: com.dubture.twig.ui [1.0.13.201309142024]
Cannot satisfy dependency:
From: Twig UI Plugin 1.0.13.201309142024 (com.dubture.twig.ui 1.0.13.201309142024)
To: bundle org.eclipse.php.ui 0.0.0
Cannot satisfy dependency:
From: Eclipse e4 Rich Client Platform 1.2.1.v20130910-2014 (org.eclipse.e4.rcp.feature.group 1.2.1.v20130910-2014)
To: com.ibm.icu [50.1.1.v201304230130]
Cannot satisfy dependency:
From: PDT UI Plug-in 2.1.1.v20090914-1400 (org.eclipse.php.ui 2.1.1.v20090914-1400)
To: bundle org.eclipse.wst.web 0.0.0
Cannot satisfy dependency:
From: PDT UI Plug-in 2.1.1.v20090921-1100 (org.eclipse.php.ui 2.1.1.v20090921-1100)
To: bundle org.eclipse.wst.web 0.0.0
Cannot satisfy dependency:
From: PDT UI Plug-in 3.2.0.201401101713 (org.eclipse.php.ui 3.2.0.201401101713)
To: bundle org.eclipse.wst.web 0.0.0
Cannot satisfy dependency:
From: Eclipse Platform 4.3.1.v20130911-1000 (org.eclipse.platform.feature.group 4.3.1.v20130911-1000)
To: org.eclipse.rcp.feature.group [4.3.1.v20130911-1000]
Cannot satisfy dependency:
From: Eclipse RCP 4.3.1.v20130911-1000 (org.eclipse.rcp.feature.group 4.3.1.v20130911-1000)
To: org.eclipse.e4.rcp.feature.group [1.2.1.v20130910-2014]
Cannot satisfy dependency:
From: Simple Web Plug-in 1.1.301.v200909021400 (org.eclipse.wst.web 1.1.301.v200909021400)
To: bundle com.ibm.icu [3.4.4,4.1.0)
Cannot satisfy dependency:
From: Simple Web Plug-in 1.1.301.v200911302230 (org.eclipse.wst.web 1.1.301.v200911302230)
To: bundle com.ibm.icu [3.4.4,4.1.0)
This is a complex one. There is some sort of incompatibility between the versions of software you are trying to install. I'm guessing that twig is not compatible with the latest version of Aptana. See if you can get a more recent version of twig (even try a development build).

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.