How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4?

前端 未结 15 1842
自闭症患者
自闭症患者 2020-12-02 03:44

I have imported maven project in STS, when I run update update project I receive:

\"Updating Maven Project\". Unsupported IClasspathEntry kind=4
15条回答
  •  被撕碎了的回忆
    2020-12-02 04:11

    I'm using Eclipse 4.3.2 (Kepler) with M2E 1.4.x and felt over this problem several times!

    In my case the "mvn eclipse:eclipse" command also generates Checkstyle, PMD and Findbugs configuration so "mvn eclipse:clean" does not help me because it drops all those config files again.

    The best solution for me was to delete all ".classpath" files:

    find . -name ".classpath" -delete
    

    and import the project into eclipse afterwards.

提交回复
热议问题