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

  • 相关阅读:
    eclipse中的项目如何打成war包
    【SVN】Please execute the 'Cleanup' command.
    2021.06.02模拟赛DP2
    2021.05.26模拟赛 DP1
    状压DP
    高斯消元
    矩阵快速幂
    2021.05.10讲题
    Luogu P2152[SDOI 2009]Super GCD
    Tarjan
  • 原文地址:https://www.cnblogs.com/zouhong/p/11311624.html
Copyright © 2011-2022 走看看