社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
错误:
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>第二步:更新maven项目
**********************************************************************************************************************************
问题产生原因:
导入项目时:切忌直接更新项目 maven--> update project
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!