java - mvn install出现问题
ringa_lee
ringa_lee 2017-04-17 16:09:20
[Java讨论组]

各位大神有解决办法么?在intellij上是正常运行的。使用命令行mvn install就出现这个问题。

ERROR] 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: 1 problem was encountered while building the effective model for org.apache.maven.plugins:maven-resources-plugin:2.6
[ERROR] [FATAL] Non-parseable POM /Users/zomake/.m2/repository/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom: end tag name </body> must match start tag name <hr> from line 836 (position: START_TAG seen ...          10-Nov-2009 12:12                  26\r\n</pre><hr></body>... @836:18)  @ /Users/zomake/.m2/repository/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom, line 836, column 18
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
ringa_lee
ringa_lee

ringa_lee

全部回复(1)
迷茫

自己找到答案了。。。这个是因为使用了非官方源而导致插件无法下载引起的。出现这个问题只要不要使用非官方的源便可以。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号