org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

GitHub | elharo | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 436#234923140

    GitHub | 9 months ago | elharo
    org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

    Root Cause Analysis

    1. org.eclipse.e4.core.di.InjectionException

      java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal()
    2. Eclipse OSGi
      ModuleClassLoader.loadClass
      1. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:389)
      2. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
      3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
      4. org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      4 frames
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      1 frame
    4. org.eclipse.e4
      ContextInjectionFactory.make
      1. org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      4 frames
    5. Eclipse Workbench SWT
      E4Application.createE4Workbench
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:508)
      2. org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:522)
      3. org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)
      3 frames
    6. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:628)
      1 frame
    7. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    8. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    9. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    10. com.google.cloud
      AppToolsTabGroupTest.createWorkbench
      1. com.google.cloud.tools.eclipse.appengine.localserver.ui.AppToolsTabGroupTest.createWorkbench(AppToolsTabGroupTest.java:20)
      1 frame