Eclipse will not start and I haven't changed anything

后端 未结 15 889
刺人心
刺人心 2020-11-28 17:53

I haven\'t updated anything for at least a month. I was just working normally and suddenly the menus were all blank, so I decided to restart eclipse. I clicked \"close\" an

相关标签:
15条回答
  • 2020-11-28 18:36

    This works like champ on mac os or windows.

    Remove workbench.xmi located at workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi. Then start your Eclipse or ADT. This will not erase your workspace or repository.

    Remove workbench.xmi cmd:

    rm workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi.

    0 讨论(0)
  • 2020-11-28 18:38

    I have same problem but I solve it by adding environment variable (Run --> Run Configuration --> Environment variable ) as

    variable : java_ipv6
    value : -Djava.net.preferIPv4Stack=true
    
    0 讨论(0)
  • 2020-11-28 18:40

    Ok so i figured it out. Go to yourWorkspace/.metadata/.plugins and delete everything in there. Eclipse will start and repopulate the folder.

    0 讨论(0)
  • 2020-11-28 18:40

    Read my answer if recently you have been using a VPN connection.

    Today I had the same exact issue and learned how to fix it without removing any plugins. So I thought maybe I would share my own experience.

    My issue definitely had something to do with Spring Framework

    I was using a VPN connection over my internet connection. Once I disconnected my VPN, everything instantly turned right.

    0 讨论(0)
  • 2020-11-28 18:43

    I used eclipse -clean -clearPersistedState and that worked for me. You will lose your window layout configuration, but that seems minor to me.

    For Linux systems try: ./eclipse -clean -clearPersistedState

    See Eclipse JUNO doesn't start

    0 讨论(0)
  • 2020-11-28 18:47

    I tried several of the options posted in this article, but it worked for me using this option in eclipse.ini:

    -Dorg.eclipse.swt.browser.DefaultType=mozilla

    0 讨论(0)
提交回复
热议问题