My eclipse updated itself to Oxygen and it stopped seeing org.apache.karaf imports, so openhab does not compile now. I also can’t see karaf in osgi frameworks in preferences.
Is openhab supposed to work with Oxygen today and does anybody knows how to fix that problem?
I tried installing a new IDE following the instructions on the web that worked previously many times, and with Oxygen it fails with an error pasted at the end of this post.
I tried installing a new IDE choosing Neon and it installs fine, but compilation gives >90000 errors, which pretty much seems to be a big issue with the setup - but no idea if it is my machine (which worked fine yesterday and was not updated except for old Eclipse install), or is it some intermediate problem with openhab,
Other question is what is generally the recommendation on IDE automatic updates? In the last 2 months I experienced 3 times that IDE destabilized itself due to automatic updates. Two times I managed to fix it and one time it ended up with a new install. But now a new install does not work. This is pretty annoying and I tend to think disabling any updates and not touching anything once you have a working IDE is the only way to go.
Thanks
Pawel
Error of IDE setup with Oxygen:
ERROR: org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:425)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:337)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:729)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3252)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:567)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:693)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1498770463328
ERROR: org.eclipse.equinox.p2.director code=1 Only one of the following can be installed at once:
ERROR: org.eclipse.equinox.p2.director code=0 Object Teams Development Tooling Core 3.13.0.v_OTDT_r260_201706061122 (org.eclipse.jdt.core 3.13.0.v_OTDT_r260_201706061122)
ERROR: org.eclipse.equinox.p2.director code=0 Java Development Tools Core 3.13.0.v20170516-1929 (org.eclipse.jdt.core 3.13.0.v20170516-1929)
ERROR: org.eclipse.equinox.p2.director code=0 org.eclipse.jdt.core 3.12.3.xx-201706291404-e46
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.v1498770463328
ERROR: org.eclipse.equinox.p2.director code=0 To: org.codehaus.groovy.eclipse.feature.feature.group 0.0.0
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.v1498770463328
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.jdt.feature.group 0.0.0
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.v1498770463328
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.mylyn.context_feature.feature.group 0.0.0
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Compilerless Feature 2.9.2.xx-201706291404-e46 (org.codehaus.groovy.compilerless.feature.feature.group 2.9.2.xx-201706291404-e46)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.codehaus.groovy.headless.feature.feature.group [2.9.2.xx-201706291404-e46]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Feature 2.9.2.xx-201706291404-e46 (org.codehaus.groovy.eclipse.feature.feature.group 2.9.2.xx-201706291404-e46)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.codehaus.groovy.compilerless.feature.feature.group [2.9.2.xx-201706291404-e46]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Headless Feature 2.9.2.xx-201706291404-e46 (org.codehaus.groovy.headless.feature.feature.group 2.9.2.xx-201706291404-e46)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.codehaus.groovy.jdt.patch.feature.group [2.9.2.xx-201706291404-e46]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn Context UI 3.23.0.v20170414-0629 (org.eclipse.mylyn.context.ui 3.23.0.v20170414-0629)
ERROR: org.eclipse.equinox.p2.director code=0 To: package org.eclipse.jdt.core 0.0.0
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Mylyn Task-Focused Interface 3.23.0.v20170414-0629 (org.eclipse.mylyn.context_feature.feature.group 3.23.0.v20170414-0629)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.mylyn.context.ui [3.23.0.v20170414-0629]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From Patch: org.codehaus.groovy.jdt.patch.feature.group 2.9.2.xx-201706291404-e46 Eclipse Java Development Tools 3.13.0.v20170612-0950 (org.eclipse.jdt.feature.group 3.13.0.v20170612-0950)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.jdt.core [3.12.3.xx-201706291404-e46]
I managed to overcome Oxygen IDE installation issue by removing all eclipse-related hidden directories in home directory (.p2, .oomph, …)
Now it installs fine, but reports lots of missing imports, same as for neon and similar to the updated IDE (which however was complaining only about one).
I am attaching a screenshot, which also shows some missing target plug-ins locations. This is a fresh install of the IDE.
Appreciate any help.
Thanks
Pawel
I’m also seeing similar issues after an automatic upgrade to Oxygen. It’s a challenge to keep this development environment working. I’ve never been able to install the openHAB Eclipse IDE and get a clean build but there are now too many errors to easily work around by unloading projects, etc. Hopefully someone can provide some guidance.
I suppose this is related to the 2.1 release and moving to 2.2 on master. .p2 repos for 2.1 seem to be empty and new ones fo 2.2 appeared (was it a mv instead of cp?) but the code on master is still 2.1
Would appreciate if one of the maintainers checked and confirmed this is a known problem.
When I manually removed 2.1 repos and added 2.2 I was able to get it built but it was such a mess after all that it did not start properly.
Ok, exactly same things done today - different result. Now everything installs fine, compiles and works. Frustrating, this is so surprising and not predictible. I am running a backup of my home directory to save for bad times again.
Both results are the same. I thought about trying with installing required org.eclipse.jdt.core manually, but i can not find any Eclipse repo with it.
Any ideas?