maven pom.xml 报错
eclipse maven项目错误:Failure to transfer org.codehaus.plexus:plexus-interpolation:jar:1.15 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-interpolation:jar:1.15 from/to central (http://repo.maven.apache.org/maven2): The operation was cancelled.pom.xml
解决办法:删除掉下载失败的jar
find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
windows下:
1、
cd %userprofile%\.m2\repository
2、
for /r %i in (*.lastUpdated) do del %i
然后在项目中右键选择 Maven->UpdateDependencies.
3、或者右键:Maven -> Disable maven nature
4、然后右键:Configure > Convert to maven Project
转载于:https://www.cnblogs.com/sndj/p/7373927.html
maven pom.xml 报错相关推荐
- 【报错笔记】MAVEN pom.xml 报错解决方法
错误信息出现在pom头的project标签,project标签内容是: < project xmlns="http://maven.apache.org/POM/4.0.0" ...
- 【报错笔记】Eclipse导入Maven项目时pom.xml报错,项目上有红感叹号。
Eclipse导入Maven项目时pom.xml报错,项目上有红感叹号. 错误原因: pom.xml中依赖的jar包在本地仓库中不存在,但是在maven/conf/settings.xml中定义了阿里 ...
- pom.xml报错:Failure to find org.apache.maven.doxia:doxia-logging-api:jar:1.1 in http://repo.
在maven本地库中找到对应的地址:org.apache.maven.doxia找到对应的文件:doxia-logging-api发现文件中包含有lastUpdated字样,表示该文件并未下载完成,然 ...
- pom.xml报错:org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)
问题描述: 创建spring boot项目时, pom.xml报错:org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWrite ...
- springboot环境搭配,pom.xml报错问题
很多人都出现了创建springboot项目pom.xml报错的情况 复制查看具体错误信息 先update project -一下,如果还是没有下载,就手动去官网下载jar放到maven本地仓库 最后c ...
- Maven项目pom.xml报错
1.org.apache.maven.archiver.MavenArchiver.getManifest报错 pom.xml第一行报错,如图: 解决办法: 第一步: help ->Instal ...
- SVN导入项目转变为Maven项目时pom.xml报错
今天在加用自己的小本本导入项目时,pom.xml文件一直报错,说missing artifact xxxx.jar包.........各种找答案,什么删除.lastupdate结尾的文件,然后重新Ma ...
- maven项目(引入依赖失败, pom.xml 报错\爆红)
☺ 引入项目过程中,idea引入磁盘的某个的maven项目 这里以springboot项目以例子,发现pom.xml 的依赖大面积爆红,springboot的版本依赖也报错了,然后发现下面有进度条在下 ...
- java运行出现XML_eclipse开发环境下,项目运行时出现pom.xml报错(java.io.PrintWriter)...
首先,我们先来说一下解决问题的方法:在eclipse的help中选择install new software,在workwith中输入下面url:http://download.eclipse.org ...
最新文章
- mysql插入的时候是否需要commit
- Java 技术篇 - java同时连接多种数据库执行sql语句的兼容性验证,数据库类型包括:oracle、sqlserver、DB2、人大金仓、达梦、PG、瀚高、polardb
- 【技术干货】Spring事务原理一探
- linux下c语言http服务器_服务器端开发经验总结 Linux C语言
- matlab 读取fig数据
- Android:解决Button中的文字全部大写
- c语言中常量有何作用,C语言const的用法详解,C语言常量定义详解
- linux文件句柄满了 现象_Linux 离奇磁盘爆满,如何解决? | 原力计划
- python+Android+uiautomator的环境
- python 控制 cmd 命令行颜色
- linux scp后台运行的办法
- Python初学16——程序设计方法学
- 在线 pdf转word
- 加权平均值不等式的证明
- Win10 新机,这些必装软件你拥有了吗?美化、写作、下载、效率神器...这篇攻略请收藏...
- PC的足迹--多核时代《九》
- Python.习题七 函数(上)
- 大整数加法基本思路和代码(C++实现)
- 安装Mosquitto学习MOTT协议
- 破解验证码(2)滑动验证码
热门文章
- 深度解读:人体防御病毒的免疫力究竟是什么?
- AIoT重磅报告:四大关键助力,AI+IoT重新定义未来的可能性
- 普华永道:2018 AI预测报告 将回答关于数据的重大问题
- 万物互联的千亿级通信云市场,开发者机会在哪里
- 你的编程技能是否与时俱进? TIOBE 4 月榜单出炉
- 招程序员不要信中医的? | 极客视频
- 程序员饭碗不保了?GPT-3 最强应用发布,动动手指就自动写代码的神器来了!...
- 前端、git入门至常用指令
- 蚂蚁金服面试经历-临场发挥
- 自定义ProgressBar(自定义View和ClipDrawable)