大概意思就是文件出错

解决方法:

在C:\Users\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.12.4路径找到

maven-surefire-plugin-2.12.4.pom.lastUpdated然后把它删除。

在回到eclipse中在项目名上右键:maven--->updateProject

等待更新完成。

 

如果更新完成还报错,就右键:propertis--->Maven--->ProjectFacets进入以下页面

根据实际使用修改这两个地方的版本:

maven项目出错:Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.

 

修改Dynamic Web Module时通过

maven项目出错:Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.

进入下面的页面修改为圈内的路径并勾选下面的内容

maven项目出错:Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.

 

点击OK,再apply即可解决问题。

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-02-01
  • 2021-06-02
  • 2021-11-29
猜你喜欢
  • 2021-06-06
  • 2022-01-15
  • 2021-10-27
  • 2021-05-25
  • 2022-03-06
  • 2022-12-23
  • 2021-09-02
相关资源
相似解决方案