An internal error occurred during: “Updating Maven Project”. Unsupported IClasspathEntry kind=4

前端 未结 13 2118
暖寄归人
暖寄归人 2021-01-29 20:56

As the title mentioned I have the following problem: I use Eclipse with Maven Nature and when I update my Maven Project, I get this error:

13条回答
  •  囚心锁ツ
    2021-01-29 21:50

    Your command line mvn eclipse project generator may not be the same version as that of your eclipse, and eclipse doesn't understand for your command line tool is generating. Just use eclipse's in this case:

    • remove the project from eclipse (including all modules if multi-module)
    • run: rm -rf .settings/ .project .classpath to delete eclipse project files, also from modules
    • import your project as an existing maven project

提交回复
热议问题