java/eclipse

[ERR] m2eclipse Unsupported IClasspathEntry kind=4

manywaypark 2013. 5. 2. 16:21

문제:

eclipse에서 m2eclipse를 쓸때,

project를 import(일반적으로 쓰는 Import > General > Existing Projects into Workspace)한 후에 right click project > Configure > Convert to Maven Project를 선택하면 다음과 같은 오류가 나면서 제대로 동작하지 않는 경우가 있다.

An internal error occurred during: "Enabling Maven Dependency Management".

Unsupported IClasspathEntry kind=4

해결:

  1. rightclick project, remove maven nature
  2. mvn eclipse:clean (with project open in eclipse/STS)
  3. delete the project in eclipse (but do not delete the sources)
  4. Import existing Maven project

ref: http://stackoverflow.com/questions/15065093/an-internal-error-occurred-during-updating-maven-project-unsupported-iclassp


happy hackin'