Eclipse RCP product export: Cannot satisfy slf4j dependency

172 views Asked by At

I am building existing RCP application against this target platform:

enter image description here

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!

0

There are 0 answers