mView と呼ばれる、私のために作成されたプラグインをパッケージ化しています。xtext を使用してプラグインを作成しましたが、元のプロジェクトよりも 2 つのファイル (mView.test および mView.ui) が生成されます。
エラーは次のとおりです。
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)
...
私はすでにjdkとjreの互換性を確認しており、問題ありません。プラグインのマニフィストの部分では、プラグイン クラスを含む jar ファイルを既に確認しており、Bundle-ClassPath にリストされています。プラグインの依存関係に xtext が表示され、ファイル built.properties で SourceBuild と BinaryBuild のソース フォルダーを確認しますが、これ以上行うべきことが見つかりません。ご協力をお願いいたします。
PS: 参考までに: このチュートリアルに従ってプラグインをパッケージ化します: http://www.vogella.com/articles/EclipsePlugIn/article.html#p2deployplugin_overview