|ClassNotFoundException org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory [message #1792736]
||Mon, 23 July 2018 10:54
| Markus Holzem
Registered: November 2017
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 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?
[Updated on: Mon, 23 July 2018 10:55]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02369 seconds