An internal error occurred during: "Updating Maven Project

前端 未结 10 2067
不思量自难忘°
不思量自难忘° 2021-01-29 23:52

when i convert to maven project the error is :

> An internal error occurred during: \"Updating Maven Project\".
> Unsupported IClasspathEntry kind=4


        
相关标签:
10条回答
  • 2021-01-30 00:14
    1. Switch to terminal and type command mvn eclipse:clean
    2. Right-click on you project, select Maven -> Update Project

    Okay, everything is settled

    0 讨论(0)
  • 2021-01-30 00:15

    Revert back to an earlier commit/change fixes the problem.... so it could be some corrupted project/mvn file issue, somehow. So, I followed the steps to clean up and then import the project.It worked after a couple attempts.

    0 讨论(0)
  • 2021-01-30 00:15

    In my case the problem was a .settings-folder commited to svn. it contained the wrong settings (in my case the jdk was set to wrong location). So deleting .settings on svn and doing a clean checkout did it.

    0 讨论(0)
  • 2021-01-30 00:20

    I meet the same problem before when I import a project as a maven project. what I did is like is right click project and choose Maven -> Update Project... (Alt-F5) on the context menu. In the Update Maven Project dialog, ensure that "Update project configuration from pom.xml" is checked. Then press OK.

    The issue should be resolved.

    Another way is, you go to Problem tab, and find the Error, there is a hint saying that right click it and use Quick fix to resolve the problem.

    0 讨论(0)
提交回复
热议问题