maven创建web报错failure to transfer org.codehaus.plexus
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
最新文章
- ThinkPHP3快速入门教程-:基础
- C语言:break和continue
- JS ——window.onload与$(document).ready()
- GDB的non-stop模式
- iOS SDK:预览和打开文档
- swap分析及其使用
- SqlSugar ORM 入门篇2 【查询】 让我们实现零SQL
- OPUS/SILK/SPEEX 音频编码比较
- DeepLearning.ai-Week4-Face Recognition for the Happy House
- 主机配置nginx后如何获取访问者IP
- docker[caffe&;&;pycaffe]
- [02] Spring主要功能模块概述
- HostAliases向Pod中添加hosts解析
- 【六】php 错误异常处理
- 文件编码检测.ZC
- 企业项目开发--cookie(2)
- Deep learning with Python 学习笔记(3)
- 20155323刘威良《网络对抗》Exp7 网络欺诈防范
- 关于Oracle中sys、system和Scott用户下的数据库连接问题
- 2019.3.26 为什么说HTTP是无状态协议/无连接
热门文章
- 【NOI1999、LOJ#10019】生日蛋糕(搜索、最优化剪枝、可行性剪枝)
- HTML简单入门
- (转)vuex2.0 基本使用(1) --- state
- 通过ASP.NET Ajax技术模拟实现NBA比赛文字直播功能
- Android开发笔记(11)——DialogFragment &; 点击监听
- Microsoft SQL Server数据库学习(一)
- PHP CURL的几种用法
- (转)Openlayers 2.X加载高德地图
- We wanted {";required";:[";value";]} and you sent [";text";,";value";,";id";,";sessionId";]
- 视频及MP3 播放浅析 Jplayer参数详细