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

解决办法:

1. 修改settings.xml,添加:


<mirror>   
        <id>Central</id>   
        <url>http://repo1.maven.org/maven2</url>   
        <mirrorOf>central</mirrorOf>   
    </mirror>  
2. 删除项目,eclipse 重启 重新创建项目

原文链接:https://blog.csdn.net/m0_37751917/article/details/80794675

posted @ 2019-10-23 13:48  加菲猫and大白  阅读(3683)  评论(0编辑  收藏  举报