pom文件报红Failure to find cn.xx:xxx:pom:3.x.x in https://maven.aliyun.com/repository/public/ was cached
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                pom文件报红Failure to find cn.xx:xxx:pom:3.x.x in https://maven.aliyun.com/repository/public/ was cached
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                背景:換了項目依賴的本地庫的位置,重新下載了依賴。
這里這個project標簽本來是報紅的,錯誤信息是:Failure to find cn.xx:xxx:pom:3.x.x?in https://maven.aliyun.com/repository/public/ was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced
?當我把項目中的這個使用阿里云遠程倉庫的標簽注釋掉后,?
重新加載maven,project標簽就不報錯了,包括一些${}取值的依賴也不報錯了。而且在我把注釋去掉后,重新加載maven,project也不報紅了。
具體原因暫不清楚,可能是緩存的原因?
總結
以上是生活随笔為你收集整理的pom文件报红Failure to find cn.xx:xxx:pom:3.x.x in https://maven.aliyun.com/repository/public/ was cached的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: matlab中的图片输出和设定
- 下一篇: 绝对经典!百句浓缩版小常识(ZT)
