#18 java.lang.NoClassDefFoundError: org/eclipse/m2e/core/MavenPlugin

3.7.0
open
nobody
None
1
1 day ago
2014-06-17
watho
No

After installing the plugin i can't even create a launch configuration. The error console shows the following error.

Greetings
watho

eclipse.buildId=4.4.0.I20140501-0200
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.standard.product -eclipse.password /home/watho/.eclipse/master
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product

org.eclipse.ui
Error
Tue Jun 17 18:35:34 CEST 2014
Unhandled event loop exception

java.lang.NoClassDefFoundError: org/eclipse/m2e/core/MavenPlugin
    at net.sourceforge.eclipsejetty.JettyPluginM2EUtils.getMavenProjectFacade(JettyPluginM2EUtils.java:67)
    at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationAdapter.isScopeNoneExcluded(JettyLaunchConfigurationAdapter.java:1127)
    at net.sourceforge.eclipsejetty.launch.util.JettyLaunchConfigurationAdapter.initialize(JettyLaunchConfigurationAdapter.java:285)
    at net.sourceforge.eclipsejetty.launch.shortcut.JettyLaunchShortcut.createLaunchConfiguration(JettyLaunchShortcut.java:522)
    at net.sourceforge.eclipsejetty.launch.shortcut.JettyLaunchShortcut.createLaunchConfiguration(JettyLaunchShortcut.java:229)
    at net.sourceforge.eclipsejetty.launch.shortcut.JettyLaunchShortcut.launch(JettyLaunchShortcut.java:150)
    at net.sourceforge.eclipsejetty.launch.shortcut.JettyLaunchShortcut.launch(JettyLaunchShortcut.java:109)
    at net.sourceforge.eclipsejetty.launch.shortcut.JettyLaunchShortcut.launch(JettyLaunchShortcut.java:79)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
    at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4462)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassNotFoundException: org.eclipse.m2e.core.MavenPlugin cannot be found by net.sourceforge.eclipsejetty.launcher_3.7.0
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 48 more

Discussion