maven的pom报plugins错误的解决方法.
报错的一小段内容:
1
|
Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:jar: 2.18 . |
碰到一个类似以上的错误.
原因是maven的plugin并未下载到本地.
如果查看本地仓库的maven-surefire-plugin目录
1
|
D:softmavenRepositoryorgapachemavenpluginsmaven-surefire-plugin 2.18 . 1 |
会发现里面只有一个
maven-surefire-plugin-2.18.1.pom.lastUpdated
的文件.
而并没有maven-surefire-plugin-2.18.1.jar
解决办法:
1.删除所有以lastUpdated结尾的文件
2.右键点击project -> Maven - Update Dependencies(Update Project...)
Update Dependencies之后打开对应得maven-surefire-plugin目录就会发现目录下已经下载好了maven-surefire-plugin-2.18.1.jar
iOS--NSNetService和NSNetServiceBrowser(Bonjour网络编程)
Hyperledger Fabric创建通道抛错Error: got unexpected status: FORBIDDEN -- Failed to reach implicit threshold of 1 sub-policies, required 1 remaining: permission denied解决方案
Python作业第一课
我们都要幸福
SSRS奇怪报错Could not update a list of fields for the quer.
有感于审计署计算机中级培训
python笔记——第二天
学习python——博客记录第一天
bzoj1027 合金