怎么在eclipse导入maven项目

  • 在eclipse中安装m2eclipse
  • 在eclipse import中选择导入maven项目
  • 注意导入时eclipse会报一个错
    > An internal error occurred during: "Updating Maven Project".
    > Unsupported IClasspathEntry kind=4
    此时可以用如下方法解决:
    1. Right-click on your project, select Maven -> Remove Maven Nature.
    2. Open you terminal, go to your project folder and do “mvn eclipse:clean”
    3. Right click on your Project and select “Configure -> Convert into Maven Project”
posted @ 2015-04-22 07:48  sunruntheway  阅读(177)  评论(0编辑  收藏  举报