티스토리 뷰



Using Intelij version : 2016.3.4 , JVM 1.8 , Maven 3.3.9


발생에러 : 

Failed to create a Maven project: '/Users/hellothere/IdeaProjects/core-project-collect/pom.xml' already exists in VFS



Module을 추가하려 보니.. 이미 VFS에 있어서 추가가 되지 않는다고 한다.

( 미리 추가한 적이 있었나? ) 


크게 모듈을 추가하는 방법은 2가지가 있다.


  1. POM.xml에 추가 
  2. Intelij Module 추가 

일단 POM.xml에 넣어도 같은 내용이 뜬다. 







음... 문제가 뭔지 잘 이해가 가지 않아 검색을 해보니 Cashe를 지우라는 이야기가 나온다


https://www.jetbrains.com/help/idea/2016.3/cleaning-system-cache.html


Cleaning System Cache

IntelliJ IDEA caches a great number of files, therefore the system cache may one day become overloaded. In certain situations the caches will never be needed again, for example, if you work with frequent short-term projects. Also, the only way to solve some conflicts is to clean out the cache.

Cleaning out the system caches

To clean out the system caches:

  • On the main menu, choose File | Invalidate Caches/Restart. The Invalidate Caches message appears informing you that the caches will be invalidated and rebuilt on the next start. Use buttons in the dialog to invalidate caches, restart IntelliJ IDEA or both.

It is important to note the following:

  • The files are not actually deleted until IntelliJ IDEA restarts.
  • Opening and closing a project does not result in deleting any files.



알려준 대로 cache를 지우고 Restart를 해보기로 했다






하지만 같은 에러의 발생..

문제가 뭘까 하고 생각해보니 VFS라고 말하는 부분에서 뭔가 다른 부분에서 관리를 하는 것 같다. 


다른 부분에서 찾아보니 File --> Project Structure에서 모듈을 Intelij에서 별도 관리하고 있었다. ( 괜히 엉뚱한 곳에서 찾고 있었네;; ) 

이곳에서 중복되거나 legacy로 남겨진 부분을 삭제하면 Module이 생성/삭제 등의 정상적으로 관리된다. 



 









'Dev > Framework' 카테고리의 다른 글

Vert.x  (0) 2017.02.15
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함