m2eclipse error

前端 未结 17 1114
忘掉有多难
忘掉有多难 2020-12-07 09:58

I am developing a web application with Eclipse and I generate the project with a maven archetype.

When I enable maven dependency management, Eclipse mark some errors

17条回答
  •  一生所求
    2020-12-07 10:13

    This error bothered me for two days. I tried all kinds of solutions, nothing worked. Finally I give up and tried a radical approach. and it worked! Here are the steps:

    1. Save a copy of the pom.xml,
    2. deleted all text in pom.xml
    3. Let eclipse do a clean rebuild, of course everything will be broken.
    4. pasted back everything in the original pom.xml
    5. let Eclipse build again

    I guess it was "indeterministic" as the following article said.

    http://wiki.eclipse.org/M2E_plugin_execution_not_covered

提交回复
热议问题