are you using jdk 9? if so, use jdk 8 update 144 instead because i had the same issue on a windows vps.
|
So when I try running a workspace on my macbook when starting eclipse it tells me:
'an error has occurred
see the log file.'
When I open the log this is what it says:
[SPOIL]!SESSION 2017-10-08 23:07:34.658 -----------------------------------------------
eclipse.buildId=4.7.1.M20170906-1700
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=nl_NL
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/directory/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/directory/.eclipse_keyring
!ENTRY org.eclipse.osgi 4 0 2017-10-08 23:07:45.346
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inter nalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make( InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFacto ry.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Applica tion.createDefaultHeadlessContext(E4Application.ja va:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Applica tion.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Applica tion.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workben ch.java:614)
at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 134)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invo ke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:14 99)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.injec t(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.inter nalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader .loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:4 96)
... 24 more
!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-10-08 23:07:45.355
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.dispo sed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed (Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjec tSupplier$ContextInjectionListener.update(ContextO bjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableCom putationExt.update(TrackableComputationExt.java:11 1)
at org.eclipse.e4.core.internal.contexts.TrackableCom putationExt.handleInvalid(TrackableComputationExt. java:74)
at org.eclipse.e4.core.internal.contexts.EclipseConte xt.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.Eclipse ContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.Eclipse ContextOSGi.bundleChanged(EclipseContextOSGi.java: 141)
at org.eclipse.osgi.internal.framework.BundleContextI mpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue. dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPu blisher.publishBundleEventPrivileged(EquinoxEventP ublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPu blisher.publishBundleEvent(EquinoxEventPublisher.j ava:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPu blisher.publishBundleEvent(EquinoxEventPublisher.j ava:112)
at org.eclipse.osgi.internal.framework.EquinoxContain erAdaptor.publishModuleEvent(EquinoxContainerAdapt or.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Mod ule.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.ja va:634)
at org.eclipse.osgi.container.Module.stop(Module.java :498)
at org.eclipse.osgi.container.SystemModule.stop(Syste mModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$ SystemBundle$EquinoxSystemModule$1.run(EquinoxBund le.java:165)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader .loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:4 96)
... 21 more
[/SPOIL]
are you using jdk 9? if so, use jdk 8 update 144 instead because i had the same issue on a windows vps.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |