• Could not create the view: An unexpected exception was thrown


    一、问题描述

      打开myclipse,发现server窗口报错,Could not create the view: An unexpected exception was thrown。

    二、解决

      这是由于之前被部署到tomcat中的项目被关闭,或者找不到导致的。我这里是之前把部署了的项目closed了,所以打开这几个项目就解决了这个问题。

    三、拓展

      D:install oolsmyeclipsemyeclipse10workspace.metadata.pluginsorg.eclipse.core.runtime.settings

      打开这个文件,发现它记载着被部署的项目:

    eclipse.preferences.version=1
    tomcat6Server.JavaEE.IEARProjectName=
    tomcat6Server.JavaEE.altContextRoot=
    tomcat6Server.JavaEE.contextRoot=/JavaEE
    tomcat6Server.JavaEE.deployIsOverProject=false
    tomcat6Server.JavaEE.deploymentPath=D:\install\basic\tomcat\apache-tomcat-6.0.41\webapps\JavaEE
    tomcat6Server.JavaEE.isDeployed=true
    tomcat6Server.JavaEE.isExploded=true
    tomcat6Server.JavaEE.isUptoDate=true
    tomcat6Server.JavaEE.noFileCopy=false
    tomcat6Server.JavaEE.shouldBackup=false
    tomcat6Server.JavaEE.shouldOverwrite=false
    tomcat6Server.JavaEE.type=WebDeployment
    tomcat7Server.bspring.IEARProjectName=
    tomcat7Server.bspring.altContextRoot=
    tomcat7Server.bspring.contextRoot=/bspring
    tomcat7Server.bspring.deployIsOverProject=false
    tomcat7Server.bspring.deploymentPath=D:\install\basic\tomcat\apache-tomcat-7.0.55\webapps\bspring
    tomcat7Server.bspring.isDeployed=true
    tomcat7Server.bspring.isExploded=true
    tomcat7Server.bspring.isUptoDate=true
    tomcat7Server.bspring.noFileCopy=false
    tomcat7Server.bspring.shouldBackup=false
    tomcat7Server.bspring.shouldOverwrite=false
    tomcat7Server.bspring.type=WebDeployment

    找不到里面记载的项目就会上面的错误。

  • 相关阅读:
    第 45 届国际大学生程序设计竞赛(ICPC)亚洲区域赛(上海)M . Gitignore(模拟)
    11.FreeRTOS延时函数
    10.FreeRTOS任务通知的简易分析
    9.FreeRTOS内存管理简易分析
    8. FreeRTOS信号量的简易分析
    7.FreeRTOS 队列的简易分析
    6. FreeRTOS任务调度
    5.FreeRTOS任务切换的简易分析
    4.FreeRTOS调度器的启动简易分析
    3.FreeRTOS任务的简易分析
  • 原文地址:https://www.cnblogs.com/brolanda/p/4549703.html
Copyright © 2020-2023  润新知