【打包出錯信息】
[ERROR]Failure to find org.apache.poi:poi-scratchpad:jar:4.1.1 in http://170.0.41.47:8081/repository/maven-public/ was cached in the local repository,resolution will not be reattempted until the update interval of bigdata-nexus3 has elapsed or updates are forced->[Help 1] [ERROR]
【原因】
原因是maven3.x版本在從遠程倉庫下載資源后,會生成對應的_remote.repositories文件,標示該資源的來源,如果你有這個文件_remote.repositories,那就不會訪問本地了,必須遠程上有才行,否則就會報錯。
【解決方案】
將_remote.repositories文件刪除。
【參考資料】
https://blog.csdn.net/qq_36205206/article/details/108487403
END