Maven error in eclipse (pom.xml) : Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4

前端 未结 8 1753
广开言路
广开言路 2021-02-01 04:53

I wanna make web project using the Maven to import automatically all libraries that I need, so I chose \"maven-archetype-webpp\"

after that I got this error

相关标签:
8条回答
  • 2021-02-01 05:28

    In my case eclipse was using an old settings.xml file.

    0 讨论(0)
  • 2021-02-01 05:30

    You need just to follow those steps:

    1. Right Click on your project: Run (As) -> Maven clean
    2. Right Click on your project: Run (As) -> Maven install

    After which, if the build fails when you do Maven Install, it means there is no web.xml file under WEB-INF or some problem associated with it. it really works

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