문제:
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
해결:
- rightclick project, remove maven nature
- mvn eclipse:clean (with project open in eclipse/STS)
- delete the project in eclipse (but do not delete the sources)
- Import existing Maven project
ref: http://stackoverflow.com/questions/15065093/an-internal-error-occurred-during-updating-maven-project-unsupported-iclassp
happy hackin'