Class not found exception in packaged plug-in. Xtext file .ui generate [message #1076896] |
Wed, 31 July 2013 21:42  |
Eclipse User |
|
|
|
Hello
I'm package a plugin made for me called mView. I create my plug in using xtext and it generate 2 files more than my original project (mView.test and mView.ui) I have a problem with deploying of my packaged plug-in (i.e., when it is not started in a runtime workbench).
The error is:
Plug-in mView.ui was unable to load class org.xtext.example.mydsl.ui.MViewExecutableExtensionFactory.
org.eclipse.core.runtime.CoreException: Plug-in mView.ui was unable to load class org.xtext.example.mydsl.ui.MViewExecutableExtensionFactory. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at ..... Caused by: java.lang.ClassNotFoundException: org.xtext.example.mydsl.ui.MViewExecutableExtensionFactory at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) ....
I already ensure of the jdk and jre compatibility and all its ok. In the part of the MANIFIEST of the plug-in I already check the jar file that contains the plug-in classes and be listed in the Bundle-ClassPath. In the dependency's of the plug-in appears xtext and in the file built.properties is check the source folder in SourceBuild and BinaryBuild, but I can't find it more to do, I would greatly appreciate your help.
sorry for my English. Thank You!
PD: just for information. I package my plug-in following this turorial: http: //www.vogella.com/ articles/ EclipsePlugIn/ article.html#p2deployplugin_overview
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30421 seconds