Failure to find parent:pom:2.2.6 in http://maven.aliyun was cached in the local repository...
2021-03-30 13:26
标签:pac alt mave update cat 无权限 start frame mamicode 报错如下: 原因分析:主要是阿里云的Maven仓库无法更新这个版本的pom依赖; 解决过程:于是直接在pom里面添加阿里云maven,还是报同样的错误;看到网上说删除maven仓库的对应目录或目录下的*.lastUpdated文件,然后再次运行maven命令,然后再打包设置相关的属性,但是又报无权限访问的错误; 后来就想着要不更改pom的版本,将其降低点,即改为2.2.5就好了,如下图所示: Failure to find parent:pom:2.2.6 in http://maven.aliyun was cached in the local repository... 标签:pac alt mave update cat 无权限 start frame mamicode 原文地址:https://www.cnblogs.com/shijinglu2018/p/12593553.htmlxml version="1.0" encoding="UTF-8"?>
project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
modelVersion>4.0.0modelVersion>
parent>
groupId>org.springframework.bootgroupId>
artifactId>spring-boot-starter-parentartifactId>
version>2.2.5.RELEASEversion>
relativePath/>
parent>
......
下一篇:对Http请求的总结
文章标题:Failure to find parent:pom:2.2.6 in http://maven.aliyun was cached in the local repository...
文章链接:http://soscw.com/index.php/essay/70007.html