如果你的eclipse出现了Could not create the view: An unexpected exception was thrown这样的错误,是因为你删除了你的工程,然而工程的有些dataBase,在workspace中没有被删除。
解决方案:
1,删除该文件com.genuitec.eclipse.ast.deploy.core.prefs
<workspace dir>/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs
2,重启eclipse即可。