eclipse 導入已存在的工程文件出錯

沒有刪除本地文件,只是想把從工做區中刪除的工程再顯示出來,用import的時候提示Some projects cannot be imported because they already exist in the workspace。eclipse

緣由:「一些項目不能進口由於它們已經存在的工做空間」這說明你刪除的時候沒刪除完、再在列表裏找找,看有項目殘留、刪除乾淨就能夠從新import了!spa

辦法:一、Some projects cannot be imported because they already exist in the workspaceip

二、Some projects were hidden because they exist in the workspace directoryimport

有時候eclipse或者myeclipse導入項目的時候會發生上面兩個錯誤,IDE不容許咱們導入。cli

具體緣由是在IDE的workspace中已經存在了相同名字的項目,因此不能導入。myeclipse

解決辦法則是修改項目名: 一、right click --- refactor --- renameim

二、workspace中要修更名字的項目 --- 打開.project文件 --- 修改<name>projectName</name>項目

相關文章
相關標籤/搜索