zoukankan      html  css  js  c++  java
  • 关于maven导入工程pom文件报错问题及解决

    pom文件头报错

    1.导入maven文件,经常遇到表头出错问题。报错:Failure to transfer org.apache.maven.shared:maven-filtering:pom:1.0-beta-2 from https://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.apache.maven.shared:maven-
    filtering:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
    其大致原因是org.apache.maven.shared:maven-filtering:pom已经存在了,而且不能被强制更新了。

    怎么将其更新呢?

    首先根据org.apache.maven.shared:maven-filtering:pom:1.0-beta-2这个目录在本地仓库中删除对应文件夹下的.lastUpdated后缀名的文件。

    从新更新maven工程,就行了。

     

    https://blog.csdn.net/qy20115549/article/details/52890026

     --------------maven手动导入maven:https://blog.csdn.net/hueason/article/details/73676667

  • 相关阅读:
    memcache详解
    redis详解
    laravel5表单验证
    MySQL添加字段和修改字段
    delete和truncate区别
    IOC 和DI(转载)
    JPA和SpringData知识梳理
    spring和springmvc配置分离
    springboot 整合 mybatis
    mongodb安装及配置
  • 原文地址:https://www.cnblogs.com/zouhong/p/11311624.html
Copyright © 2011-2022 走看看