Could not create the view: An unexpected exception was thrown.
找到自己项目的
$工作空间\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core.prefs
根据工作空间的Server项目部署配置文件可以看出,Server部署了两个项目,分别是SeNT-DL,SeNT-b11M
eclipse.preferences.version=1
tomcat7Server.SeNT-DL.IEARProjectName=
tomcat7Server.SeNT-DL.altContextRoot=
tomcat7Server.SeNT-DL.contextRoot=/SeNT-DL
tomcat7Server.SeNT-DL.deployIsOverProject=false
tomcat7Server.SeNT-DL.deploymentPath=F\:\\apache-tomcat-7.0.55\\webapps\\SeNT-DL
tomcat7Server.SeNT-DL.isDeployed=true
tomcat7Server.SeNT-DL.isExploded=true
tomcat7Server.SeNT-DL.isUptoDate=true
tomcat7Server.SeNT-DL.noFileCopy=false
tomcat7Server.SeNT-DL.shouldBackup=false
tomcat7Server.SeNT-DL.shouldOverwrite=false
tomcat7Server.SeNT-DL.type=WebDeployment
tomcat7Server.SeNT-b11M.IEARProjectName=
tomcat7Server.SeNT-b11M.altContextRoot=
tomcat7Server.SeNT-b11M.contextRoot=/SeNT-b11M
tomcat7Server.SeNT-b11M.deployIsOverProject=false
tomcat7Server.SeNT-b11M.deploymentPath=F\:\\apache-tomcat-7.0.55\\webapps\\SeNT-b11M
tomcat7Server.SeNT-b11M.isDeployed=true
tomcat7Server.SeNT-b11M.isExploded=true
tomcat7Server.SeNT-b11M.isUptoDate=true
tomcat7Server.SeNT-b11M.noFileCopy=false
tomcat7Server.SeNT-b11M.shouldBackup=false
tomcat7Server.SeNT-b11M.shouldOverwrite=false
tomcat7Server.SeNT-b11M.type=WebDeployment
实际上,Server只部署了一个项目SeNT-DL,另外一个项目SeNT-b11M被删除了
另外一个项目SeNT-b11M被删除了,删除的方式是进入tomcat的webapps,直接删除。没有通知MyEclipse,导致MyEclipse的工作空间的Server项目部署配置文件没有做更新,依旧配置Server部署了两个项目,分别是SeNT-DL,SeNT-b11M。
更新MyEclipse的工作空间的Server项目部署配置文件com.genuitec.eclipse.ast.deploy.core.prefs,根据实际情况,删除已经不存在于Server的项目配置。