为了账号安全,请及时绑定邮箱和手机立即绑定

mvn compile时出现以下错误是什么原因啊 求大神解答

mvn compile时出现以下错误是什么原因啊  求大神解答

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:11 h

[INFO] Finished at: 2016-10-01T00:06:27+08:00

[INFO] Final Memory: 8M/89M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compi

le (default-compile) on project maven01-model: Execution default-compile of goal org.ap

ache.maven.plugins:maven-compiler-plugin:3.1:compile failed: Plugin org.apache.maven.pl

ugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: The f

ollowing artifacts could not be resolved: org.apache.maven:maven-core:jar:2.0.9, org.ap

ache.maven:maven-plugin-parameter-documenter:jar:2.0.9, org.apache.maven:maven-project:

jar:2.0.9: Could not transfer artifact org.apache.maven:maven-core:jar:2.0.9 from/to ce

ntral (https://repo.maven.apache.org/maven2): GET request of: org/apache/maven/maven-co

re/2.0.9/maven-core-2.0.9.jar from central failed: Read timed out -> [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 f

ollowing articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionExcep

tion


正在回答

1 回答

: GET request of: org/apache/maven/maven-co

re/2.0.9/maven-core-2.0.9.jar from central failed: Read timed out -> [Help 1]

 包没有下载下来吧

0 回复 有任何疑惑可以回复我~
#1

蓝小七 提问者

但是我后来重新执行一次mvn compile显示success了 ,
2016-10-01 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

mvn compile时出现以下错误是什么原因啊 求大神解答

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信