Open christian-baumann opened 3 years ago
Is this the Reason for my ClassNotFoundException, when i want to use the 'PerspectiveSwitcherComponent'?
I have used the newest Nighly from http://download.eclipse.org/efxclipse/runtime-nightly/site but i'm getting this Exception?
Should this Error not removed with this PR ?
`!MESSAGE Unable to create class 'org.eclipse.fx.ui.workbench.fx.perspective.PerspectiveSwitcherComponent' from bundle '177' !STACK 0 org.eclipse.e4.core.di.InjectionException: org.eclipse.e4.core.di.InjectionException: java.lang.RuntimeException: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
My wild guess is that your target does not contain JAXB libs. You need to add them yourself.
I have added the dependencies to my target and my Launch-Config:
jaxb-api, com.sun.xml.bind.jaxb-core, com.sun.xml.bind.jaxb-impl
from orbit or from where did you get them - @christian-baumann correct me but i think in our customer projects we added:
from orbit
In order to make JAXB work with Java 11 two things are necessary:
Thanks for your comments. I have tried to follow your recommendations, but the Problem is the same. Because we use in our app json and no xml and the only reason to i want to add is the PerspectiveSwitcherComponent i have decided to stop more wasting time and build my own PerspectiveSwitcher.