Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12248

Sling IDE Tools 1.2.2 looking for non-existent class, org.eclipse.m2e.core.internal.index.IndexListener

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • Sling Eclipse IDE 1.2.2
    • None
    • Tooling
    • None
    • Eclipse 2023-12, Maven 3.8.1, Java 11, AEM 1.3.0, Sling IDE Tools 1.2.2

    Description

      AEM (Adobe Experience Manager) Developer Tool latest version with latest Sling IDE tool depends on a non-existent Java class of M2E, org.eclipse.m2e.core.internal.index.IndexListener.

      java.lang.NoClassDefFoundError: org/eclipse/m2e/core/internal/index/IndexListener
          at java.base/java.lang.ClassLoader.defineClass1(Native Method)
          at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
          at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:283)
          at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:716)
          at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:639)
          at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:607)
          at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:587)
          at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:566)
          at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
          at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
          at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
          at org.apache.sling.ide.eclipse.ui.wizards.np.AbstractNewMavenBasedSlingApplicationWizard.addPages(AbstractNewMavenBasedSlingApplicationWizard.java:72)
          at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:119)
          at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:98)
          at org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java:73)
          at org.eclipse.ui.internal.dialogs.NewWizardNewPage.lambda$0(NewWizardNewPage.java:342)
          at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:780)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
          at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
          at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:777)
          at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1559)
          at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1210)
          at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:272)
          at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:329)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4273)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4071)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3659)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
          at org.eclipse.jface.window.Window.open(Window.java:799)
          at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:119)
          at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
          at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4273)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4071)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3659)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
          at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
          at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
          at java.base/java.lang.reflect.Method.invoke(Method.java:580)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.m2e.core.internal.index.IndexListener cannot be found by org.apache.sling.ide.eclipse-m2e-ui_1.2.2
          at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:541)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:536)
          at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
          at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
          ... 62 more 

      Attachments

        Activity

          People

            Unassigned Unassigned
            dathuynh Dat Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: