Multiple annotations found at this line:
- Execution default-testResources of goal org.apache.maven.plugins:maven-resources-plugin:
2.5:testResources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its
dependencies could not be resolved: Failure to transfer org.apache.maven.shared:maven-filtering🏺1.0
from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be
reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not
transfer artifact org.apache.maven.shared:maven-filtering🏺1.0 from/to central (http://
repo.maven.apache.org/maven2): No response received after 60000 (org.apache.maven.plugins:maven-
resources-plugin:2.5:testResources:default-testResources:process-test-resources)
- Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5:resources
failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be
resolved: Failure to transfer org.apache.maven.shared:maven-filtering🏺1.0 from http://
repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until
the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
org.apache.maven.shared:maven-filtering🏺1.0 from/to central (http://repo.maven.apache.org/maven2):
No response received after 60000 (org.apache.maven.plugins:maven-resources-plugin:2.5:resources:default-
resources:process-resources)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
maven有错误的话首先就是先cleanclean不行在删掉本地仓库
1.清空本地仓库~/.m2/repository/中的jar文件
2.创建maven命令是否有错误,参考官网命令
3.推荐教程<atarget="_blank"rel="nofollow">http://maven.oschina.net/help.html