Updated to Eclipse 2020-12 Unable to resolve mylyn bundle [message #1836040] |
Fri, 18 December 2020 17:08 |
Marco Maccaferri Messages: 147 Registered: July 2009 |
Senior Member |
|
|
Hello,
I have just updated my Eclipse installation from 2020-09 to 2020-12 and now it can't resolve mylyn bundles due to failed constraints:
!ENTRY org.eclipse.mylyn.commons.notifications.feed 4 0 2020-12-18 17:51:05.424
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.commons.notifications.feed [607]
Bundle was not resolved because of a uses constraint violation.
org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources javax.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.2.0.v201105210648"; osgi.identity="javax.xml.bind"] and jakarta.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="jakarta.xml.bind"] via two dependency chains.
Chain 1:
org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"]
require: (&(osgi.wiring.bundle=javax.xml.bind)(bundle-version>=2.2.0))
|
provide: osgi.wiring.bundle: javax.xml.bind
javax.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.2.0.v201105210648"; osgi.identity="javax.xml.bind"]
Chain 2:
org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"]
require: (&(osgi.wiring.bundle=com.sun.xml.bind)(bundle-version>=2.2.0))
|
provide: osgi.wiring.bundle; bundle-version:Version="2.3.3.v20201118-1818"; osgi.wiring.bundle="com.sun.xml.bind"
com.sun.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="com.sun.xml.bind"]
import: (&(osgi.wiring.package=javax.xml.bind)(&(version>=2.3.3)(!(version>=2.3.4))))
|
export: osgi.wiring.package: javax.xml.bind
jakarta.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="jakarta.xml.bind"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1779)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
There are other erros messages in the log, but all seems similar, or a consequence of this.
Looks to me there is a conflict between packages. Is there a way to fix the installation ?
The OS is Windows 10, Java JDK 11.0.8.
Best regards,
Marco
[Updated on: Fri, 18 December 2020 17:08] Report message to a moderator
|
|
|
|
|
|
|
Re: Updated to Eclipse 2020-12 Unable to resolve mylyn bundle [message #1836072 is a reply to message #1836070] |
Sat, 19 December 2020 17:10 |
Marco Maccaferri Messages: 147 Registered: July 2009 |
Senior Member |
|
|
Riccardo Nimser wrote on Sat, 19 December 2020 11:57I misconfigured my custom Oomph setup first, but now I have version 2.2.0 and version 2.3.3 of the bundle com.sun.xml.bind installed properly. I used the Eclipse Orbit to pull in the version 2.2.0.
Ok, I more clear question: what you have done to fix the bundles ? What files have you edited ?
My upgraded installation has these:
18/12/2020 20:51 955.880 com.sun.xml.bind_2.2.0.v201505121915.jar
18/12/2020 17:40 1.206.296 com.sun.xml.bind_2.3.3.v20201118-1818.jar
18/12/2020 17:41 136.547 jakarta.xml.bind_2.3.3.v20201118-1818.jar
08/07/2020 13:51 124.948 javax.xml.bind_2.2.0.v201105210648.jar
And Mylyn is broken. What's the magic ?
Can't even revert the upgrade I have to reinstall the previous version!
[Updated on: Sat, 19 December 2020 17:10] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03902 seconds