An internal error occurred during: "Updating Maven Project

前端 未结 10 1019
太阳男子
太阳男子 2021-01-29 23:39

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:15

    Here is what worked for me: After the steps posted in Answer 21 above (the last being Convert to Maven Project), I did:

    1. mvn eclipse:eclipse - this regenerates your .project and .classpath files (both of which were blown away by mvn eclipse:clean in step (2) above)

    2. In Eclipse, I right-clicked my project(s) and then Maven > Update Project

    I did not see the Unsupported IClasspathEntry kind=4 message anymore :)

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

    This is all you need:

    1. Right-click on your project, select Maven -> Disable 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”
    0 讨论(0)
  • 2021-01-30 00:20
    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:21

    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)
提交回复
热议问题