错误信息:
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.3.1: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.3.1 from/to central (http://repo1.maven.org/maven2): Connect times 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 following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException什么错误?
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.3.1: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:2.3.1 from/to central (http://repo1.maven.org/maven2): Connect times 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 following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException什么错误?
解决方案 »
- tomcat webapps 最大能放大,
- 在 hibernate中configuration.configure(configFile);这句报错java.lang.SecurityException: org/apache/commons/
- java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
- 问一下,关于weblogic 8.1 web services 的生成....
- 又来散分了。关于Applet 在IE中运行的问题
- 关于Java客户端如何去连接C++服务端
- 我这有JBuilder7&Weblogic7整和开发培训手册(中文,37页),适合初学者,需要的请留mail
- 会话Bean调用实体Bean的问题!
- struts2标签问题
- redis 存的数据,关闭服务器,丢失了
- 急求servlet,jsp,javabean的使用
- 谁能给个SSH2 列表分页的简单例子
到http://repo1.maven.org/maven2的下载不成功。
隔24小时后再试,或者改用镜像
<mirror>
<id>UK</id>
<name>UK Central</name>
<url>http://uk.maven.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
参照
http://maven.apache.org/guides/mini/guide-mirror-settings.html