Eclipse在打开xhtml时出现Could not open the editor: An exception was thrown during initialization
解决方案:找到工程对应目录下的.settings文件夹,然后将里面除文件夹以外的所有文件删除,就可以解决上述问题。
工作空间
RECENT_WORKSPACES=D/://web//workspace,D/://web,C/://Documents and Settings//Administrator//workspace
这就是系统建立的一个workspace空间和我自己建立的两个workspace空间,于是我把这句改为RECENT_WORKSPACES=D/://web//workspace,保存文件然后重新启动eclipse,这时在选择工作空间的对话框的地方再也找不到那删除的两个工作空间了。