pow文件异常,报红线 ,Failure to find XXX was cached in the local repository

问题

Failure to find org.mybatis:mybatis-parent:pom:32-SNAPSHOT in 
https://maven.aliyun.com/repository/public was cached in the local 
repository, resolution will not be reattempted until the update interval
 of aliyunmaven has elapsed or updates are forced

原因

原因分析:主要是阿里云的Maven仓库无法更新这个版本的pom依赖;

解决

解决过程:更改pom的版本,将其降低点,即改为28就好了

<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-parent</artifactId>
    <version>28</version>
    <relativePath />
  </parent>

受教至

https://www.cnblogs.com/shijinglu2018/p/12593553.html

猜你喜欢

转载自blog.csdn.net/qq_30081043/article/details/107308157
今日推荐