Eclipse下导入SpringCloud项目maven加载jar包:Could not get the value for parameter encoding for plugin executi - Go语言中文社区

Eclipse下导入SpringCloud项目maven加载jar包:Could not get the value for parameter encoding for plugin executi


错误:

Could not get the value for parameter encoding for plugin execution default-resources

Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2

无法获取xxxxx(org.apache.maven.plugins:maven-resources-plugin:3.0.2)插件

解决办法:

第一步:获取


获取成功:


如果出现如下错误,请更换maven仓库

1.maven更目录(安装maven的目录:eg:D:DevInstallapache-maven-3.5.0 )--> 打开conf-->编辑settings.xml 更换仓库

中央仓库:

 <mirror>  
            <id>repo1</id>
            <mirrorOf>*</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>http://repo1.maven.org/maven2/</url>
      </mirror>

阿里仓库:

<mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    </mirror>


第二步:更新maven项目




**********************************************************************************************************************************

问题产生原因:

导入项目时:切忌直接更新项目 maven--> update project



版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_41370336/article/details/78805659
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-02-25 01:07:22
  • 阅读 ( 2552 )
  • 分类:Go Web框架

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢