maven创建web报错failure to transfer org.codehaus.plexus
2015-12-17 19:19
351 查看
failure to transfer org.codehaus.plexus:plexus:pom:2.0.5 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:2.0.5 from/
to central (http://repo.maven.apache.org/maven2): connection timed out to http:// repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.5/plexus-2.0.5.pom
查看本地库该文件夹:少了jar等东西
于是本地安装,到http://mvnrepository.com/输入plexus搜索
然后在cmd中手动安装:
D:\repository\org\codehaus\plexus\plexus\2.0.5
Maven安装JAR包命令是:
mvn install:install-file -Dfile=jar包的位置 -Dgroup=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar
注意:1.-Dfile=jar包的位置 需要将jar包也写上
2.jar包不能放在要库里面
然后看D:\repository\org\codehaus\plexus\plexus\2.0.5
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:2.0.5 from/
to central (http://repo.maven.apache.org/maven2): connection timed out to http:// repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/2.0.5/plexus-2.0.5.pom
查看本地库该文件夹:少了jar等东西
于是本地安装,到http://mvnrepository.com/输入plexus搜索
然后在cmd中手动安装:
D:\repository\org\codehaus\plexus\plexus\2.0.5
Maven安装JAR包命令是:
mvn install:install-file -Dfile=jar包的位置 -Dgroup=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar
注意:1.-Dfile=jar包的位置 需要将jar包也写上
2.jar包不能放在要库里面
然后看D:\repository\org\codehaus\plexus\plexus\2.0.5
相关文章推荐
- Node.js 的Web server--Fenix
- JSTREE 实现AJAX重载入时刷新所有节点树
- WebForm框架页面上js修改服务端控件导致后台不能正确获取到控件值的问题【总结】
- Angular2组件开发—调用服务(三)
- 解决jQuery-validation框架remote校验只能返回true、false问题
- 《剑指offer》——用两个栈实现队列
- Nodejs源码分析之assert
- jquery选择器
- Ext.js问题重现整理(3)(combo)
- jquery获得所有重名的文本框值
- Populating Next Right Pointers in Each Node,Populating Next Right Pointers in Each Node II
- Ext.js5的数组表格(3)
- bootstrap学习网站
- js 中时间大小比较和合法性校验check(时分校验,年月日时分秒校验,年月日时分校验)
- js check IP 端口校验
- 一种简单快速的模板解析方法,活用with javascript版
- jQuery数组($.grep,$.each,$.inArray,$.map)处理函数详解
- gulp构建前端开发环境
- target与currentTarget的区别(jqueryui方式获取z-Index)
- loadJS