IDEA's project to establish the same name given to solve (clear cache)

problem

After you remove the old items in the IDEA, a project to re-create the same name, appears as an exception

Maven:Failed to create a Maven project ‘…pom.xml’ already exists in VFS 解决(建立同名被删除项目时)

Solution

Click General recommendations

File--->Invalidate Caches/Restart.....,Invalidate试下

In fact, clear the cache and indexed by the above way nature is delete the corresponding files in the system directory under the C drive, so if we do not have the above-mentioned method, you can also delete the entire system directory directly, so, when IntelliJ IDEA project is started again when it will re-create the new system and the corresponding project cache directory and index. If we have the time because the cache or index problems that can not open the project, the proposed delete system directory, so in general can be a good solution to our problems.

Before deleting an old project of the same name in the workspace, creating projects of the same name appear 'pom.xml' already exists in VFS

The real cause of the problem is to remove the old original Project but it is still on our computers, namely VFS virtual file system

Enter C: \ .IntelliJIdea2019.2 \ frameworks \ under Users \ username \ system detection directory, the prompt to delete an existing project, and then create it

C: \ Users \ Administrator.IntelliJIdea2019.2, namely IDEA in our system cache file

Guess you like

Origin www.cnblogs.com/xianyao/p/11747433.html
Recommended