Thread: Unable to run eclipse workspace on my Macbook

Results 1 to 5 of 5
  1. #1 Unable to run eclipse workspace on my Macbook 
    Member
    Join Date
    Nov 2016
    Posts
    43
    Thanks given
    0
    Thanks received
    12
    Rep Power
    0
    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]
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    are you using jdk 9? if so, use jdk 8 update 144 instead because i had the same issue on a windows vps.
    Reply With Quote  
     

  3. #3  
    Member
    Join Date
    Nov 2016
    Posts
    43
    Thanks given
    0
    Thanks received
    12
    Rep Power
    0
    Quote Originally Posted by Omelete View Post
    are you using jdk 9? if so, use jdk 8 update 144 instead because i had the same issue on a windows vps.
    Thanks for the reply, unfortunately it didn't work..
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,084
    Thanks given
    0
    Thanks received
    1,043
    Rep Power
    3608
    Quote Originally Posted by Arlania View Post
    Thanks for the reply, unfortunately it didn't work..
    you'd also need to delete the eclipse preference folders located in your user.home, re-install eclipse and let eclipse re-make them upon startup.
    Reply With Quote  
     

  5. #5  
    Member
    Join Date
    Nov 2016
    Posts
    43
    Thanks given
    0
    Thanks received
    12
    Rep Power
    0
    Quote Originally Posted by Omelete View Post
    you'd also need to delete the eclipse preference folders located in your user.home, re-install eclipse and let eclipse re-make them upon startup.
    You mean the .eclipse, eclipse, eclipse-workspace folders? Because I tried this and it didn't work. Could you help me using teamviewer perhaps?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Unable to put the website on my host
    By Soru in forum Help
    Replies: 0
    Last Post: 08-08-2016, 11:35 PM
  2. Unable to Run Server in IDE - Eclipse
    By Excavation in forum Help
    Replies: 4
    Last Post: 01-15-2016, 07:26 AM
  3. Cant run .bat files on my mac
    By owner josh in forum Help
    Replies: 0
    Last Post: 07-14-2009, 08:32 PM
  4. How To Run a Client on Vista (will rep++)
    By Slay No More in forum Help
    Replies: 8
    Last Post: 02-16-2009, 04:59 AM
  5. [Offical] How to run a server on LINUX! [Done]
    By Bangali Boy in forum Tutorials
    Replies: 9
    Last Post: 01-02-2009, 10:22 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •