eclipse plugin - Class not found exception in packaged plug-in. Xtext file .ui generate -


i'm packaging plug-in made me called mview. created plug in using xtext , generates 2 files more original project (mview.test , mview.ui) have problem when deploying packaged plug-in (i.e. when not started in runtime workbench).

the error is:

plug-in mview.ui unable load class org.xtext.example.mydsl.ui.mviewexecutableextensionfactory.   org.eclipse.core.runtime.coreexception: plug-in mview.ui unable load class org.xtext.example.mydsl.ui.mviewexecutableextensionfactory.     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.throwexception(registrystrategyosgi.java:194)     @ org.eclipse.core.internal.registry.osgi.registrystrategyosgi.createexecutableextension(registrystrategyosgi.java:176)     @ org.eclipse.core.internal.registry.extensionregistry.createexecutableextension(extensionregistry.java:905)     @ ... caused by: java.lang.classnotfoundexception: org.xtext.example.mydsl.ui.mviewexecutableextensionfactory     @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:501)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:421)     @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:412) ... 

i ensured jdk , jre compatibility , it's ok. in part of manifiest of plug-in, check jar file contains plug-in classes , listed in bundle-classpath. in dependencies of plug-in appears xtext , in file built.properties check source folder in sourcebuild , binarybuild, can’t find more do. appreciate help.

ps: fyi: package plug-in following turorial: http://www.vogella.com/articles/eclipseplugin/article.html#p2deployplugin_overview


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -