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

Issue installing Payara tools on Eclipse (2021-09) #40

Closed
Marc-GHAFOUR opened this issue Dec 1, 2021 · 21 comments
Closed

Issue installing Payara tools on Eclipse (2021-09) #40

Marc-GHAFOUR opened this issue Dec 1, 2021 · 21 comments
Assignees
Labels
Status: Pending Waiting on the user to give more details or share a reproducer

Comments

@Marc-GHAFOUR
Copy link

Hello,
Installation of payara tools on Eclipse (2021-09) fails with the following error :
Cannot complete the install because one or more required items could not be found.
Software being installed: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools.feature.group 1.4.0.202110041326)
Missing requirement: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools.feature.group 1.4.0.202110041326) requires 'org.eclipse.equinox.p2.iu; org.eclipse.sapphire.modeling.xml.feature.group [9.1.0,10.0.0)' but it could not be found

The requirement "sapphire" looks unreachable (since yesterday I'm facing the same issue).
Thanks.

@gianuy
Copy link

gianuy commented Dec 3, 2021

I have the same issue. Looks like the Sapphire project is now archived/abandoned.

https://www.eclipse.org/projects/archives.php

https://projects.eclipse.org/projects/technology.sapphire

image

@Marc-GHAFOUR
Copy link
Author

Thanks Gianuy for the information.
It's a blocking point for using Payara on Eclipse.
Hope there is a workaround to bypass this issue.

@CarlosMOGoncalves
Copy link

Hello everyone,

Just wanted to second this one.
I was just trying to install Payara Tools on 2021-12 and this issue effectively prevents normal installation of the plugin.
The update site for Sapphire seems to be gone as well so I don't seem to be able to install it in any way.

Is there any temporary workaround to this that anyone knows about?

Thanks

@shub8968 shub8968 added the Status: Open Issue has been triaged by the front-line engineers and is being worked on verification label Dec 14, 2021
@shub8968 shub8968 self-assigned this Dec 14, 2021
@shub8968
Copy link

shub8968 commented Dec 14, 2021

Hi @Marc-GHAFOUR, @CarlosMOGoncalves, @gianuy

I have tried installing it now and I am able to install it successfully. Do you all still face the same problem?

@shub8968 shub8968 added Status: Pending Waiting on the user to give more details or share a reproducer and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Dec 14, 2021
@CarlosMOGoncalves
Copy link

Hello @shub8968

I just tried it out again and it did manage to install correctly.

By the wizard it seems it was able to load those sapphire dependencies, even though the standalone sapphire update site is indeed empty (or at least unreachable).

I don't know what you did, bit this solved it. Time to try out the new Eclipse :D

Thanks a bunch!

@jGauravGupta
Copy link
Contributor

Hi, I have created an internal ticket FISH-5934 to address this issue and upgrade to the latest version 2021-12.

@jsplate
Copy link

jsplate commented Dec 15, 2021

How can I install the changed version?
Do I have to install from
https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/latest?
This shows the version 1.4.0.202110041326 and this seems to be the version that is not working.

@Marc-GHAFOUR
Copy link
Author

Hello,
Yes, Installation of Payara tools works fine on my side - using Eclipse 2021-09.
Thanks a lot for the support.
Marc.

@stalb
Copy link

stalb commented Dec 15, 2021

I still have a requirement for sapphire 9.1.1 that cannot be satisfied

Cannot complete the install because one or more required items could not be found.
Software being installed: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools.feature.group 1.4.0.202110041326)
Missing requirement: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools 1.4.0.202110041326) requires 'osgi.bundle; org.eclipse.sapphire.modeling [9.1.1,10.0.0)' but it could not be found
Cannot satisfy dependency:
From: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools.feature.group 1.4.0.202110041326)
To: org.eclipse.equinox.p2.iu; org.eclipse.payara.tools [1.4.0.202110041326,1.4.0.202110041326]

I install using https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/latest

@CarlosMOGoncalves
Copy link

Hello @stalb

I have installed it yesterday, using that exact URL.

I have used a fresh install of Eclipse IDE for Enterprise and the only thing I had installed besides the standard IDE was SonarLint, but I doubt that had anything to do with it.

I did notice, during installation, that the wizard stated that it could find the sapphire dependencies (which it couldn't a few days ago), which is why it could be installed.

However, the regular update site for sapphire is indeed down, so one cannot install sapphire standalone.~
Nevertheless, in my IDE, the latest Payara Tools was successfully installed

Cheers

@stalb
Copy link

stalb commented Dec 15, 2021

I've tried this morning with a fresh installs of Eclipse Enterprise IDE (2021-09 and 2021-12) and was unable to install payara tools.

The only workaround I've found is to add a sapphire 9.1.1 p2 repository picked from a US eclipse mirror (some of them still have a copy of sapphire p2 repository).

@matsuk55
Copy link

Hello.

I am also having the same problem.

The error has the following message:

Missing requirement: Payara Tools 1.4.0.202110041326 (org.eclipse.payara.tools.feature.group 1.4.0.202110041326) requires 'org.eclipse.equinox.p2.iu; org.eclipse.sapphire.modeling.xml.feature.group [9.1.0,10.0.0)' but it could not be found

where can I get sapphire 9.1.1 ?

@stalb
Copy link

stalb commented Dec 27, 2021

@matsuk55
Copy link

@stalb Thank you for infomation.
I was able to install it.

@sgroche
Copy link

sgroche commented Jan 17, 2022

I am still having this issue as of today. My Eclipse version is 2021-12.

This link returns a 404: https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/latest

@jGauravGupta
Copy link
Contributor

Hi @sgroche ,

Please enter the link https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/latest to Eclipse IDE > Help > Install new Software > Work With field, as shown in the following screenshot.

image

Payara Eclipse tools v1.4.2 have been released with the fix of the available Sapphire and Jetty dependencies repository.

@CarlosMOGoncalves
Copy link

Hello there,

I haven't tested this yet, because I managed to install it during that brief period when it was possible.
However, I am curious about this.

Sapphire seems to have been discontinued, but Payara Tools was somehow dependent on it.
How is it dependent on it?
Since it has been removed from Eclipse, how it is going to impact this plugin in the future?

Thanks

@stalb
Copy link

stalb commented Jan 20, 2022

I can confirm, it's now working with eclipse IDE JEE 2021-09 and 2021-12.

Installing payara tools 1.4.2 (using p2 : https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/latest) now adds also second p2 repository, https://raw.githubusercontent.com/payara/ecosystem-eclipse-plugin/release-artifacts/repository/libs/sapphire/9.1.1/ , which contains sapphire 9.1.1

@shub8968
Copy link

Hi @CarlosMOGoncalves,

I've closing the issue as of now. You can open a discussion pertaining to it on the Payara forum. https://forum.payara.fish/

@jGauravGupta
Copy link
Contributor

Hi @CarlosMOGoncalves,

In the upcoming version of Payara Eclipse tools, archived components and libs will be removed (Sapphire will be replaced with SWT components).

@CarlosMOGoncalves
Copy link

Hello @jGauravGupta ,

Thanks a lot for the answer.
Although I am not entirely familiar with the architecture of Eclipse and the connection between those projects (Sapphire and SWT), I think I see the point there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Waiting on the user to give more details or share a reproducer
Projects
None yet
Development

No branches or pull requests

9 participants