在Eclipse中安装我的插件会破坏Maven项目向导

时间:2017-04-18 10:03:50

标签: java eclipse maven eclipse-plugin m2eclipse

我在Eclipse中开发自己的编辑器插件。在我将其安装到新下载的Eclipse版本后,Eclipse的Maven Project Wizard会遇到如下错误:enter image description here

错误消息为:Problem Opening Wizard. The selected wizard could not be started. Plug-in org.eclipse.m2e.core.ui was unable to load class org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizard. An error occurred while automatically activating bundle org.eclipse.m2e.core.ui (236).

m2e软件包已预先安装在目标Eclipse中。安装插件后,向导只会中断,之前可以使用。

这是我的插件列出所有依赖项的Manifest.MF

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Language Editor Core
Bundle-SymbolicName: language-editor-core;singleton:=true
Bundle-Version: 1.0.0.qualifier
Require-Bundle: org.eclipse.jface.text;bundle-version="3.11.2",
 org.eclipse.ui.editors;bundle-version="3.10.1",
 org.eclipse.ui.views;bundle-version="3.8.102",
 org.eclipse.ui.console;bundle-version="3.6.201",
 org.eclipse.jdt.core;bundle-version="3.12.3",
 org.eclipse.ui.ide;bundle-version="3.12.3",
 org.eclipse.ui;bundle-version="3.108.1",
 org.eclipse.jdt.ui;bundle-version="3.12.2",
 org.eclipse.core.runtime;bundle-version="3.12.0",
 org.eclipse.core.resources;bundle-version="3.11.1",
 language.editor.bundle,
 org.eclipse.m2e.core.ui;bundle-version="1.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: de.se_rwth.langeditor.global,
 de.se_rwth.langeditor.injection,
 de.se_rwth.langeditor.language;uses:="org.antlr.v4.runtime,org.antlr.v4.runtime.tree,com.google.common.collect",
 de.se_rwth.langeditor.modelpath,
 de.se_rwth.langeditor.modelstates,
 de.se_rwth.langeditor.texteditor,
 de.se_rwth.langeditor.texteditor.commands,
 de.se_rwth.langeditor.texteditor.contentassist,
 de.se_rwth.langeditor.texteditor.errorhighlighting,
 de.se_rwth.langeditor.texteditor.hyperlinks,
 de.se_rwth.langeditor.texteditor.outline,
 de.se_rwth.langeditor.texteditor.syntaxhighlighting,
 de.se_rwth.langeditor.util,
 de.se_rwth.langeditor.util.antlr,
 de.se_rwth.langeditor.util.prefuse
Bundle-ActivationPolicy: lazy
Import-Package: org.junit

有任何想法如何修复它? 编辑:在查看工作区中的.log文件后,发现错误是由此引起的:.Caused by: java.lang.IncompatibleClassChangeError: Class ch.qos.logback.classic.LoggerContext does not implement the requested interface org.slf4j.ILoggerFactory

这是什么原因?

0 个答案:

没有答案