An error has occured. Please see log file - eclipse juno

前端 未结 30 2103
情书的邮戳
情书的邮戳 2020-12-02 11:13

Whenever I start up Eclipse Juno, it gives me an error saying:

An error had occured. Please see the log file:

C:\\Program Files\\eclipse\\

相关标签:
30条回答
  • 2020-12-02 11:52

    This instruction works 100% for me:

    1. Rename the Eclipse workspace name
    2. Start Eclipse (it will start successfully with empty workspace)
    3. Exit it and change workspace name to previous state(if ask to replace some files, press no)
    4. Start Eclipse again and Re import projects in current workspace

    Enjoy!

    0 讨论(0)
  • 2020-12-02 11:52

    In my case I didn't want to remove eclipse because in corporate world we can't control everything. Also deleting some files from workspace .matadata could not help. So below hack that I found with trial and error worked for me perfectly :

    Go to this path: C:\....\eclipse-Luna\configuration\org.eclipse.core.runtime\

    now delete .manager completely.

    Start eclipse again and woilaa.. it will run normally.

    [In my case, I use eclipse luna. I once abruptly closed the PC when eclipse was open. Then eclipse was not able to start on the next system restart. So keep in mind to close eclipse properly. :) ]

    0 讨论(0)
  • 2020-12-02 11:52

    Deleting metadata folder might not work in this case. Or eclipse -clean command. Or reinstall eclipse might not solve this.

    Instead try deleting other java versions you might have in your machine.

    Check what you have right now using this:

    /usr/libexec/java_home -V
    

    Delete other java versions which you don't want, following below command:

    sudo rm -rf /System/Library/Java/JavaVirtualMachines/java-version.jdk
    

    This should resolve your issue.

    0 讨论(0)
  • 2020-12-02 11:53

    In my case my JAVA_HOME was pointed to jdk9 after pointing JAVA_HOME to jdk8 resolved my issue. Hope it helps someone.

    0 讨论(0)
  • 2020-12-02 11:53

    I had the exact same problem and fixed it by deleting the file .metadata/.plugins/org.eclipse.core.resources/.snap.

    0 讨论(0)
  • 2020-12-02 11:54

    It worked for me when I went to WorkSpace\.metadata\.plugins\org.eclipse.e4.workbench and then remove the *.xmi files.

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