zoukankan      html  css  js  c++  java
  • Could not create the view: An unexpected exception was thrown

    打开server窗口,发现显示:Could not create the view: An unexpected exception was thrown.

    此处解决方法:

      关闭myeclipse
      删除文件workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs
      重新启动myeclipse即可
    为了了解原因,需要做些工作:

      了解到:

      .metadata:保存当前工作空间的一些配置信息,Eclipse内所有改动都放在这个文件夹中。其中,workspace.metadata.pluginsorg.eclipse.core.runtime.settings里面保存的是eclipse启动的配置

      菜单 “windows->preference”相关的数据大多在 .metadata.pluginsorg.eclipse.core.runtime.settings 下。

      原因:应该是myeclipse未完全加载其中的配置信息造成的,可能是它读不出其中的配置信息,也可能是它解析其中的配置信息出了问题。由于这个本身不涉及工作空间中的其他控件的使用,只是无法创建server显示的信息,所以,可以删除后,在eclipse重启过程中,靠它自己重新新建。明显deploy是显示用途的信息配置。

  • 相关阅读:
    nyist 541最强DE 战斗力
    nyist 231 Apple Tree
    nyist 543 遥 控 器
    nyist 233 Sort it
    nyist 517 最小公倍数
    hdu 1sting
    nyist A+B Problem IV
    nyist 522 Interval
    nyist 117 求逆序数
    nyist 600 花儿朵朵
  • 原文地址:https://www.cnblogs.com/jinmingjie/p/6149816.html
Copyright © 2011-2022 走看看