ClassNotFoundException org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory [message #1792736] |
Mon, 23 July 2018 10:54 |
Markus Holzem Messages: 7 Registered: November 2017 |
Junior Member |
|
|
Hello,
this post refers back to https://www.eclipse.org/forums/index.php/t/1073549/. It took me some time to find a post that had some information about the problem I had when I tried to merge Xtext into various versions of IBM and Compuware products. The problem was always that Xtext could not be loaded properly and the root cause of the exception was always something like
Caused by: java.lang.ClassNotFoundException: org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory can
not be found by org.eclipse.xtext.ui.shared_<various versions>
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
The occurrence happened with various releases of Neon, Oxygen, Photon. It also happened with Xtext versions from 2.11 to 2.14. I know that the problem might not be entirely caused by Xtext but might instead be rooted in IBM or Compuware plugins, but I could not find out why the org.eclipse.xtext.ui plug-in was not already loaded when the org.eclipse.xtext.ui.shared plug-in needed the class from the other plug-in.
I copied the solution from the other post https://www.eclipse.org/forums/index.php/t/1073549/ - to replace optional by required in the MAINFEST.MF of the org.eclipse.xtext.ui.shared plug-in. This workaround still works. Since I am not the only one having this problem I would like to suggest to make the dependencies in org.eclipse.xtext.ui.shared required by default
What is the right way to submit this change request?
Markus
[Updated on: Mon, 23 July 2018 10:55] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03038 seconds