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

Unable to install via Eclipse #189

Closed
BenjaminGroseclose opened this issue Feb 17, 2022 · 11 comments
Closed

Unable to install via Eclipse #189

BenjaminGroseclose opened this issue Feb 17, 2022 · 11 comments
Assignees
Labels
a: bug 🪲 Something isn't working
Milestone

Comments

@BenjaminGroseclose
Copy link

Bug description

Unable to install Pitclipse via Eclipse Marketplace
image

Expected behavior

To be able to install via the Eclipse Marketplace

How to reproduce

Steps to reproduce the behavior:

  1. Go to Help -> Eclipse Marketplace
  2. Search for pitclipse
  3. Click on install
  4. See error

Additional context

  • Pitclipse version: 2.1.2
  • Eclipse IDE version: 2021-12 (4.22.0)
@LorenzoBettini
Copy link
Collaborator

It might be a temporary network problem... can you please try again?

@BenjaminGroseclose
Copy link
Author

Still am seeing the same issue.

@LorenzoBettini
Copy link
Collaborator

I've just tried that and I get a different error:

image

That's because pitclipse depends on google.guava. There's already an open issue to get rid of such a dependency (#136) but for the time being, we have to deal with that.

Now after the failure, the update sites (both the pitclipse and the orbit one, which contains the required google.guava) have been automatically added to your Eclipse. So you can install Pitclipse with "Install new software", making sure you select all the available sites and that you check to contact all the update sites:

image

Sorry for the inconvenience.

@justin-firestone
Copy link

I am encountering this issue but still cannot install when I check to contact all update sites. Is there a specific link to the guava libraries I should add to my list of sites?

@LorenzoBettini
Copy link
Collaborator

Doesn't it find guava at all or the specific required version?

@justin-firestone
Copy link

justin-firestone commented Jun 27, 2022 via email

@LorenzoBettini
Copy link
Collaborator

Before installing pitclipse in eclipse, you can manually add this update site https://download.eclipse.org/tools/orbit/downloads/2021-06/ and guava will be found with the required version.

@MahatmaFatalError
Copy link

download.eclipse.org/tools/orbit/downloads/2021-06

Before that I got

An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.google.guava,21.0.0.v20170206-1425
No repository found containing: osgi.bundle,com.sun.xml.bind,2.2.0.v201505121915

Now I get

An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.sun.xml.bind,2.2.0.v201505121915

Pitclipse 2.1.2
Spring STS 4.15.1.RELEASE -> Eclipse 4.24.0

@LorenzoBettini
Copy link
Collaborator

OK, I'll try to take a look at this ASAP

@LorenzoBettini LorenzoBettini self-assigned this Jul 27, 2022
@LorenzoBettini LorenzoBettini added this to the 2.2.0 milestone Jul 27, 2022
@LorenzoBettini LorenzoBettini added the a: bug 🪲 Something isn't working label Jul 27, 2022
@LorenzoBettini
Copy link
Collaborator

It's fixed now!
You don't have to add manually the orbit update site.
I tested the installation of 2.2.0 both in Eclipse Java and Eclipse STS, both from the update site and from the Marketplace.
Thanks for your patience :)

@MahatmaFatalError
Copy link

Big Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants