赞
踩
Eclipse创建maven简单项目时,报错:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
解决方法:
修改settings.xml,添加:
- <mirror>
- <id>Central</id>
- <url>http://repo1.maven.org/maven2</url>
- <mirrorOf>central</mirrorOf>
- </mirror>
右键项目Update等待即可
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。