Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install 3.2.2 on Eclipse 2021-06 (4.20) - missing osgi dependencies #82

Open
Vankog opened this issue Dec 6, 2021 · 6 comments

Comments

@Vankog
Copy link

Vankog commented Dec 6, 2021

Hi,

When installing via Marketplace, I have the issue that the "osgi.bundle" dependencies cannot be resolved.

missing dependency

Cannot complete the install because one or more required items could not be found.
Software being installed: Enhanced Class Decompiler Jad Extension (Optional) 3.2.2 (org.sf.feeling.decompiler.jad.feature.group 3.2.2)
Missing requirement: Enhanced Class Decompiler Jad Extension 3.2.2 (org.sf.feeling.decompiler.jad 3.2.2) requires 'osgi.bundle; org.apache.commons.lang3 3.1.0' but it could not be found
Cannot satisfy dependency:
From: Enhanced Class Decompiler Jad Extension (Optional) 3.2.2 (org.sf.feeling.decompiler.jad.feature.group 3.2.2)
To: org.eclipse.equinox.p2.iu; org.sf.feeling.decompiler.jad [3.2.2,3.2.2]

Only option is apparently 3.1.1:
downgrade

Am I missing something?

Thanks and best regards,
Daniel

@jpstotz
Copy link
Collaborator

jpstotz commented Dec 6, 2021

What flavor of Eclipse do you have installed (for Java Developers, Java and Web, RCE, ..)? When I last checked them all had bundle org.apache.commons.lang3 included so there should be no problem.

@Vankog
Copy link
Author

Vankog commented Dec 6, 2021

Good question, I don't really know (it's a predefined bundle with some corporate-specific extensions).
Here is the info screen:
eclipse_details

However:
Having a look over the internet seems this might be related to an unavailable Repo or at least expired certificates.
For example:
PMD had the same issue: pmd/pmd-eclipse-plugin#115

These are all available in the orbit repository, but this is very old and the certificate, with which these bundles have been signed, is expired. That's why eclipse doesn't install them automatically and claims, these bundles are not contained in any repository.

MoreUnit as well: MoreUnit/MoreUnit-Eclipse#118
There the workaround was to add
https://download.jboss.org/jbosstools/photon/stable/updates/
to the update sites.
They've added this update site as reference in the category.xml of their Update Site:
apupier/MoreUnit-Eclipse@c0be375 (mind the typo of the URL)

It seems the workaround also did the trick for ECD!!!
Maybe you are using this old "orbit" repo in transitive dependencies as well?

@Sollace
Copy link

Sollace commented Feb 7, 2022

Similar problem here. On Eclipse 4.22.0 and attempting to install from the marketplace produces the following error:

image

@jpstotz
Copy link
Collaborator

jpstotz commented Feb 7, 2022

@Sollace The ecd update site only contains the plugins in version 3.2.2. Therefore I am not surprised that Eclipse does not find the plugins of version 3.2.0 and 3.2.1. I am not sure why your Eclipse tries to download outdated plugins, may be the data it uses has not been updated?

@Sollace
Copy link

Sollace commented Feb 7, 2022

@Sollace The ecd update site only contains the plugins in version 3.2.2. Therefore I am not surprised that Eclipse does not find the plugins of version 3.2.0 and 3.2.1. I am not sure why your Eclipse tries to download outdated plugins, may be the data it uses has not been updated?

Maybe, I don't know. The only versions I see listing for in the repo is 3.2.0. This is also the version it tries to install when using the link from the marketplace page (https://marketplace.eclipse.org/content/enhanced-class-decompiler)

@daixiaohei
Copy link

Do you solved it ?I have encounter the same problem. I have tried a lot but failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants