Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph cannot find .equinox.p2.iu and .jdt.feature.group
Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1828956] Tue, 23 June 2020 07:40 Go to next message
Andy Man is currently offline Andy ManFriend
Messages: 4
Registered: June 2020
Junior Member
Title basically says it all, just started my eclipse. It asked me to update the components listed in update_dialogue.png. Any ideas appreciated :)

Here's the full error it gives me:
Executing startup tasks
Java(TM) SE Runtime Environment 1.8.0_241-b07
Product org.eclipse.products.epp.package.java.latest.released
Workspace C:\Users\MYNAME\eclipse-workspace
Bundle org.eclipse.oomph.setup 1.17.0.v20200606-0914, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
Bundle org.eclipse.oomph.setup.core 1.17.0.v20200531-1047, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
Bundle org.eclipse.oomph.setup.p2 1.15.0.v20200531-1047, build=4683, branch=11a8454bc4da69195dc3e9f065bbd8fe43f77e1e
Performing P2 Director (Eclipse IDE for Java Developers (2020-06))
Offline = false
Mirrors = true
Resolving 16 requirements from 3 repositories to C:\Program Files\eclipse\eclipse
Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.16.0,5.0.0)
Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext_feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
Repository http://download.eclipse.org/technology/epp/packages/2020-06
Repository http://download.eclipse.org/releases/2020-06/202006171000
Repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository http://download.eclipse.org/technology/epp/packages/2020-06
Adding repository http://download.eclipse.org/releases/2020-06/202006171000
Adding repository http://download.eclipse.org/oomph/updates/milestone/latest
Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:427)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:339)
  at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:882)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3827)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3770)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5136)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5130)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5128)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3761)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3736)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3629)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:585)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:714)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1592897903521
  ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: Eclipse JDT Core patch for Groovy 3.8.0.v202006221811-e2003 (org.codehaus.groovy.jdt.patch.feature.group 3.8.0.v202006221811-e2003) requires 'org.eclipse.equinox.p2.iu; org.eclipse.jdt.feature.group [3.18.300.v20200305-0155,3.18.300.v20200305-0155]' but it could not be found
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1592897903521
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.eclipse.feature.feature.group 3.8.0.v202006221811-e2003
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Compilerless feature 3.8.0.v202006221811-e2003 (org.codehaus.groovy.compilerless.feature.feature.group 3.8.0.v202006221811-e2003)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.headless.feature.feature.group [3.8.0.v202006221811-e2003,3.8.0.v202006221811-e2003]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Eclipse Groovy Development Tools 3.8.0.v202006221811-e2003 (org.codehaus.groovy.eclipse.feature.feature.group 3.8.0.v202006221811-e2003)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.compilerless.feature.feature.group [3.8.0.v202006221811-e2003,3.8.0.v202006221811-e2003]
  ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
    ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Headless feature 3.8.0.v202006221811-e2003 (org.codehaus.groovy.headless.feature.feature.group 3.8.0.v202006221811-e2003)
    ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.jdt.patch.feature.group [3.8.0.v202006221811-e2003,3.8.0.v202006221811-e2003]

Took 1 seconds.
There are failed tasks.
Press Back to choose different settings or Cancel to abort.
Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1828973 is a reply to message #1828956] Tue, 23 June 2020 13:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It looks to me like org.codehaus.groovy.jdt.patch.feature.group depends on a very specific version of org.eclipse.jdt.feature.group, i.e., 3.18.300.v20200305-0155 which is not the one from 2020-06 (3.18.400.v20200604-0540) but rather the one from 2020-03. So the Groovy thing you have installed doesn't allow JDT to be updated. Maybe there's a newer version of Groovy can can install instead.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1828976 is a reply to message #1828973] Tue, 23 June 2020 14:11 Go to previous messageGo to next message
Andy Man is currently offline Andy ManFriend
Messages: 4
Registered: June 2020
Junior Member
Mhm i have to say i never specifically installed groovy or atleast cannot remember doing it. Just installed the 2020-03 version back then, selected Java. Added the CDT stuff via Marketplace because i occasionally have to do some C++ stuff. Also added Spotbugs and UCDetector via Marketplace. Later on Gradle.
Check for Updates then brought me to 2020-06; surprised that actually worked, eclipse updates so far have never worked for me at all.

Anyway, when i looked at my preferences i noticed groovy actually offers some version switches and points to this website: https://github.com/groovy/groovy-eclipse/wiki
According to that my Groovy 3.0.4 is newer then the one used for 2020-06 but apparently not?

Also just had this interesting interaction:
Went to Marketplace, installed tab. Only listed Buildship Gradle Integration and UC Detector. Spotbugs is missing for some reason, CDT as well. They are working though.
Searched for groovy in the Search tab. "Groovy Development Tools 3.8.0.SNAPSHOT" has "installed" in cursive instead of Install. I click the button.
Brings me to the installed tab. Now "Groovy Development Tools 3.8.0.SNAPSHOT" is there, with an Update prompt. Spotbugs+CDT still not listed.

Groovy cannot be updated via the update dialogue, see attached picture. I assume it's because i'm using Java8 because of the licence issues with the later versions. Any ideas?

Or maybe another way: I wouldn't have a problem just installing eclipse again if you could tell me how to configure it so that auto-update actually works. As i said i'm already amazed enough the upgrade to 2020-06 went through and didn't leave eclipse in an unusable state, but if i could have that and have the small handful of plugins i use actually also update that would be really great.

I'm also unsure why there is a difference between the dialogue you get when starting up eclipse and the one you get via Help->Check for Updates. And if the Marketplace ties into any of that.
  • Attachment: groovy.png
    (Size: 34.36KB, Downloaded 135 times)

[Updated on: Tue, 23 June 2020 14:12]

Report message to a moderator

Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1828987 is a reply to message #1828976] Tue, 23 June 2020 16:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
I can't know what you've all installed and which of those things depend on other things that are hence installed indirectly. I also can't comment on Groovy, but I see it has "patch" dependencies that typically lock in very specific versions of the thing that it's "patching", i.e., JDT...

In the picture it appears you are trying to install something with Java 11 dependencies, but you say you only have Java 8?

Auto updates do normally work, BUT, if you install a whole whack of things, and those things have strict version range restrictions, those things can prevent updates with failures exactly like what you've shown.

The Check for Updates looks at everything you have installed and at all the available update sites and checks if there is some "solution" that will allow new versions of something to be installed. The dialog that comes at the beginning does something similar, BUT, it looks also at the Oomph product catalog , i.e., the product version you installed. So, if you installed "Latest Release" and there is a new release, on startup Oomph will see you don't actually have the latest release already installed and will offer to try to install that eagerly. Given the things I pointed out above, it may not be possible to do that update.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1829026 is a reply to message #1828987] Wed, 24 June 2020 07:25 Go to previous messageGo to next message
Andy Man is currently offline Andy ManFriend
Messages: 4
Registered: June 2020
Junior Member
Alright, guess my original problem just can't be solved. Shame.

>In the picture it appears you are trying to install something with Java 11 dependencies, but you say you only have Java 8?

Well not me, it's what eclipse is suggesting when i click update in the marketplace. I only saw Groovy 3.0, checked that because i have 3.0 already according to my preferences. Guess 3.0 != 3.0, but that is of course on whoever is responsible for the Groovy Plugin.

>The Check for Updates looks at everything you have installed and at all the available update sites and checks if there is some "solution" that will allow new versions of something to be installed. The dialog that comes at the beginning does something similar, BUT, it looks also at the Oomph product catalog , i.e., the product version you installed. So, if you installed "Latest Release" and there is a new release, on startup Oomph will see you don't actually have the latest release already installed and will offer to try to install that eagerly. Given the things I pointed out above, it may not be possible to do that update.

Is there a specific reason this isn't rolled into one? I guess they started seperately for historic reasons? Pretty confusing as a user i have to say.

>Auto updates do normally work, BUT, if you install a whole whack of things

Oh and as a sidenote for this one: I have used Eclipse with many different versions (often unmodified) on many different PCs for about 10 years, i think this one was the first time where auto-update actually worked flawlessly. Please don't feel like i'm blaming this on you, but the sentiment i also encountered from other people is to never update eclipse for that reason.

[Updated on: Wed, 24 June 2020 07:27]

Report message to a moderator

Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1829039 is a reply to message #1829026] Wed, 24 June 2020 08:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Yes, there is a general reason why they are not all rolled into one. The general reason is that Oomph represents what should be installed as Requirements whereas the underlying (pre-existing) p2 framework implements profile change request as changes to add/remove specific Installable Units. The latter is far less flexible, doesn't use the full generality of p2's resolution engine, and doesn't match well the design goals that Oomph supports.

As for the user, yes the technical concepts are complex, and when things fail, the p2 explaining has to try to make these really complex things semi-comprehensible. But I believe the initial dialog only comes up if you've chosen a "latest" version to install rather than a specific version to install. The "latest" versions are moving targets and choosing them you'll be prompted to move forward when there is something to which to move forward...

Yes, update not working "properly" is annoying. But the package testers do generally test that updates work. It's just a problem that you might have installed other things that don't allow the updates...

Not that I want to suggest you ought to learn yet more complex things, but I personally do not ever install anything manually. I only use Oomph's p2 director tasks to specify what I want installed. And when there is a new release, I just let Oomph create new fresh, clean development environments for me automatically...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1829044 is a reply to message #1829039] Wed, 24 June 2020 09:59 Go to previous messageGo to next message
Andy Man is currently offline Andy ManFriend
Messages: 4
Registered: June 2020
Junior Member
>Not that I want to suggest you ought to learn yet more complex things, but I personally do not ever install anything manually. I only use Oomph's p2 director tasks to specify what I want installed. And when there is a new release, I just let Oomph create new fresh, clean development environments for me automatically...

Oh? Love to actually ;) From what i just read i basically write a script to install certain things? So i could write a full script which just installs my eclipse like i want it to, that i can also give to colleagues? Is it also able to apply certain settings in preferences?
Re: Oomph cannot find .equinox.p2.iu and .jdt.feature.group [message #1829052 is a reply to message #1829044] Wed, 24 June 2020 11:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
There are a couple of different approaches you can take. You'll want to read this wiki to understand the concepts:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring

You can go so far as to define your own Products and keep them in a Product Catalog.

Alternatively, you could use Configurations to extend the existing Products from the existing Product Catalogs.

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Automation_and_Specialization_with_Configurations

The idea here is that you could define a Configuration that includes only an Installation (not a Workspace), and in that Installation you could define one or more p2 Director tasks. This explains how to author them:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#How_to_install_Eclipse_plugins_using_the_P2_Director_and_Repository_Explorer

It's quite similar to actually installing. I.e., load the repo and use drag and drop to record the repo URI and the things you want to install from that repo.

By recording everything in one place, in the future, you can just update the URL(s) from which to install.

I keep this in my user.setup (Navigate -> Open Setup -> User):
<?xml version="1.0" encoding="UTF-8"?>
<setup.p2:P2Task
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
    label="VI">
  <requirement
      name="com.mbartl.viplugin.eclipse.feature.group"
      optional="true"/>
  <repository
      url="http://viplugin.com"/>
</setup.p2:P2Task>
This way vi is installed in everything that I install.



Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:NPE in Dialog Eclipse Installer Extentions
Next Topic:Java Main/Test sources working set
Goto Forum:
  


Current Time: Thu Apr 25 10:38:26 GMT 2024

Powered by FUDForum. Page generated in 0.03146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top