第一次新建maven项目后报错:Failure to transfer org.codehaus.plexus:plexus:pom:3.0.1

来源:互联网 发布:c语言学习文档 编辑:程序博客网 时间:2024/05/20 07:52
problem info: Failure to transfer org.codehaus.plexus:plexus:pom:3.0.1 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.codehaus.plexus:plexus:pom:3.0.1 from/to central (http://repo.maven.apache.org/maven2):

connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.0.1/plexus-3.0.1.pom


除了执行mvn clean  mvn build之外,还要执行mvn install,之后此problem消失



0 1
原创粉丝点击