Eclipse editor won't open

前端 未结 14 2120
孤街浪徒
孤街浪徒 2021-01-31 03:12

My Eclipse cannot show the editor window.

Error:

Could not open the editor: The editor class could not be instantiated. This

相关标签:
14条回答
  • 2021-01-31 03:30

    A solution which worked for me (after first unsuccessfully trying the other more accurate steps listed above) was to do as below:

    1. Close Eclipse and delete all the contents of {Workspace}.metadata.plugins folder.
    2. Open Eclipse. It does not show any projects.
    3. Import the projects into the workspace by going to the File menu, clicking import and continuing with steps.

    The issue gets resolved this way. However, a drawback is that you have to import the projects again after the steps.

    0 讨论(0)
  • 2021-01-31 03:35

    I faced the same issue. It was basically caused by a version mismatch of the jadclipse jar. Initially I had jadclipse_3.2.1.jar but then I updated to net.sf.jadclipse_3.3.0.jar. Resolved the issue.

    0 讨论(0)
  • 2021-01-31 03:37

    I tried a couple of options

    1. delete cache files within .plugins
    2. delete all index files in <workspace>/.metadata/.plugins/org.eclipse.jdt.core
    3. delete snap file in <workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap
    4. -clean as a start up parameter
    5. -initialize as a start up parameter

    But I keep getting the error back randomly.

    So far, the only option that worked consistently is removing the .snap file, the first time we launch eclipse after removing .snap file it works fine.

    Also any time we launch it in a new workspace; it works fine. but we would hate to switch the workspace for this reason.

    Moreover if we close and relaunch eclipse the issue comes back randomly.

    0 讨论(0)
  • 2021-01-31 03:38

    For me it worked to delete workspace/.metadate/.lock and then restart by using eclispe -clean -refresh

    0 讨论(0)
  • 2021-01-31 03:40

    Google this error and you get plenty of hits in a variety of (Eclipse) IDE's and plugins. There seems to be no record of real 'fix' though, besides the one you found out where you create a new workspace.

    3.6.2.r362_v20110210 is the version I'm running. Are you sure you're on 3.6.2? You're first edit lists

    -startup plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222

    which seems to point at an older release.

    I agree with another poster that you should definitely search and/or post this on Eclipse's bugtracking system. That's the least you can do when you use open source software.

    0 讨论(0)
  • 2021-01-31 03:40

    The solution to the above problem is to go to workspace.metadata.plugins\org.eclipse.jdt.core & remove all the index files.

    Thanks FlorianOver

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