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

前端 未结 13 2323
暖寄归人
暖寄归人 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:40

    I removed my .classpath file in my project directory to correct this issue. No need to remove the Maven Nature from the project in Eclipse.

    The specific error I was getting was: Project 'my-project-name' is missing required Java project: 'org.some.package-9.3.0 But my project wasn't dependent on org.some.package in any way.

    Perhaps an old version of the project relied on it and Maven wasn't properly updating the .classpath file.

提交回复
热议问题