Java 9的Eclipse安装错误

时间:2017-10-08 07:36:21

标签: eclipse

我正在尝试在我的系统中安装带有Java 9的eclipse氧气4.7.0。 但是我收到了错误

org.eclipse.e4.core.di.InjectionException:java.lang.NoClassDefFoundError:javax / annotation / PostConstruct     在org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:386)     在org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)     at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)     at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:490)     at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:504)     在org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)     在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:632)     在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)     在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)     在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)     在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)     在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)     在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)     在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)     at java.base / jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     在java.base / jdk.internal.reflect.NativeMethodAccessorImpl.invoke(未知来源)     at java.base / jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     在java.base / java.lang.reflect.Method.invoke(未知来源)     在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)     在org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)     在org.eclipse.equinox.launcher.Main.run(Main.java:1519)     在org.eclipse.equinox.launcher.Main.main(Main.java:1492) 引起:java.lang.NoClassDefFoundError:javax / annotation / PostConstruct     at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)     在org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)     ......还有23个 引起:java.lang.ClassNotFoundException:org.eclipse.e4.core.di_1.6.1.v20160712-0927找不到javax.annotation.PostConstruct     在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:410)     在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)     在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)     在org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)     at java.base / java.lang.ClassLoader.loadClass(Unknown Source)     ......还有25个 我该如何解决这个问题?

0 个答案:

没有答案