maven报错(http://repo.maven.apache.org/maven2): No response received after 60000

报错详情:Failure to transfer com.thoughtworks.xstream:xstream:pom:1.3.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 com.thoughtworks.xstream:xstream:pom:1.3.1
from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
原因是连接不到中央仓库.导致报错.在setting中添加
  <mirror>
        <id>uk.maven.org</id>
        <mirrorOf>central</mirrorOf>
        <name>UK Central</name>
        <url>http://uk.maven.org/maven2</url>
    </mirror>
设置镜像.屏蔽中央仓库地址,替换成http://uk.maven.org/maven2

maven报错(http://repo.maven.apache.org/maven2): No response
received after 60000

时间: 2024-08-03 17:38:16

maven报错(http://repo.maven.apache.org/maven2): No response received after 60000的相关文章

创建Maven报错

Maven报错:maven-archetype-webapp:RELEASE from any of the configured repositories 今天学习maven,在控制台下新建maven项目没有问题,但是在STS(eclipse)下创建maven项目老是报错,郁闷死了: ---------------------------------------------------- 错误信息:Could not resolve archetype org.apache.maven.arc

Maven报错“未结束的字符串字面值” “需要为 class、interface 或 enum”等

eclipse里面编译完全正常,mvn clean install 这么惨的错误: Compilation failure: [ERROR] *.java:[38,27] 未结束的字符串字面值 [ERROR] *.java:[38,53] 需要 ';' [ERROR] *.java:[41,19] 需要 ')' [ERROR] *.java:[41,12] 不是语句 [ERROR] *.java:[41,23] 需要 ';' [ERROR] *.java:[41,26] 不是语句 [ERROR]

web转maven报错

http://howtodoinjava.com/2013/06/04/solved-java-compiler-level-does-not-match-the-version-of-the-installed-java-project-facet/ mvn eclipse:eclipse -Dwtpversion=2.0 web转maven报错

Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle

Maven报错 解决方案.ERROR: No goals have been specified for this build. You must specify a valid lifecycle 报错: [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal>

maven报错 Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from

maven报错误,类似于: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elaps

Maven报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp

郁闷了两天,创建maven项目时,eclipse报错:Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp,详细信息如下图: 此类报错产生的原因分以下两种: 1.Catalog 相关类型缺失:     2.ide下载相关jar包时未能完整下载. 针对以上两种原因的解决方案如下:     1.配置Catalog 在eclipse中,点击window-->preferences-->maven--

关于Maven报错的一些解决办法(别处贴的)

1.警告:The tag handler class for "s:form"(org.apache.struts2.views.jsp.ui.FormTag) was not found on the JavaBuild Path这个问题终于可以解决了,在出问题的页面  <s:form> 标签前后删除空格后保存文件警告即可消失,即<s:form>为改行的起始,然后保存. 2.Eclipse下javacompiler level does not match t

Maven报错

今天把项目down下来,项目,报错maven clean ,install 没解决,然后jdk版本也对,maven,M2-HOME安装没有问题. 问题标志为maven install 下的jar包不完全 项目运行报错: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) on project operationPlat-i

项目中的报错信息,maven报错等的总结

Maven是一个自动化的构建和管理工具.在项目开发中,如果遇到了错误(红叉),一般有如下的解决方法: 1.java.lang.UnsatisfiedLinkError: E:\apache-tomcat-7.0.52\bin\tcnative-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform 遇到以上的情况,http://www.apache.org/dist/tomcat/tomcat-connectors/native/ 到该