Java – Eclipse: some or all of the projects cannot be imported because they already exist in the workspace

Sorry, I know I often ask this question But the non scene suits my problem

I use eclipse in Git (in win7) In the GIT branch, I created a new project Then I switched back to the main branch The project is not in the workspace But when I wanted to add it, I received the following error:

My problem is that the project is not in the workspace - as shown in eclipse But to be sure, it's on the hard disk because it's part of my git repository So I can't delete it Based on other posts, I deleted them from this folder:

But I still can't add it back to the eclipse workspace Any ideas?

Solution

Use file – > Import – > existing items into workspace to import items that exist on the HDD

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>