怎么在eclipse里面导入maven

2025-05-20 21:07:13
推荐回答(1个)
回答(1):

在eclipse中安装m2eclipse
在eclipse import中选择导入maven项目
注意导入时eclipse会报一个错
> An internal error occurred during: "Updating Maven Project".
> Unsupported IClasspathEntry kind=4
此时可以用如下方法解决:
Right-click on your project, select Maven -> Remove Maven Nature.
Open you terminal, go to your project folder and do “mvn eclipse:clean”
Right click on your Project and select “Configure -> Convert into Maven Project”