maven项目报错maven-resources-plugin:2.7 or one of its dependencies could not be resolved

解决办法:

1. 修改settings.xml,添加:

  1. <mirror>   
  2.         <id>Central</id>   
  3.         <url>http://repo1.maven.org/maven2</url>   
  4.         <mirrorOf>central</mirrorOf>   
  5.     </mirror>  
2. 删除项目重新创建,或者Force Update

相关文章:

  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-09-02
  • 2021-07-08
猜你喜欢
  • 2022-01-07
  • 2021-04-25
  • 2022-12-23
  • 2021-10-07
  • 2021-11-26
相关资源
相似解决方案