解決辦法:1,清空maven庫,或者找腳本執行清空本地倉庫所有下載失敗的jar文件。
2,setting文件下載jar包文件的地址檢查一下,如:
nexus-aliyun
*
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public
3,檢查當前網絡環境 是否正常
4,配置 -Dmaven.multiModuleProjectDirectory=$MAVEN_HOME ;其中MAVEN_HOME是本地MAVEN環境變量配置的路徑
5,重新
使用maven update依然沒辦法更新jar包,把本地倉庫清空,執行maven update 也不會下載jar包
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
mybatis plus工具
public static void main(String[] args) { AutoGenerator mpg = new AutoGenerator(); // 全局配置
znanj
2020-06-23 00:42:15
在使用mybatisPlus中碰到各種奇怪的問題,很多都是沒有配置好
znanj
2020-06-22 23:29:29
jsp頁面整體無法居中問題的解決方案
码农康康
2020-06-22 10:29:44
android報錯android.view.ViewRootImpl$CalledFromWrongThreadException
lujx_1024
2020-06-14 17:06:03
pkg_resources.DistributionNotFound: distribution was not found and is required by the application
墨痕诉清风
2020-06-13 15:18:09
distribution was not found and is required by the application錯誤
墨痕诉清风
2020-06-10 21:13:46
ERROR in Entry module not found: Error: Can't resolve './src' in 'XXX\webpack'
YmwWow
2020-06-01 05:16:29
golang錯誤:The process cannot access the file because it is being used by another process
墨痕诉清风
2020-04-29 04:52:52
java.net.SocketTimeoutException failed to connect to /xx.xxx.xx.xxx (port xxxx)
一颗甜橙
2020-04-27 17:11:51
mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
墨痕诉清风
2020-04-25 09:48:47
C# MessageBox.Show報錯,無法識別函數
墨痕诉清风
2020-04-22 17:40:41
error: stray ‘\342’ in program如何解決
墨痕诉清风
2020-04-21 03:19:49
Nessus Plugins Download Fail
墨痕诉清风
2020-03-25 11:19:36
No database support: No database YAML file
墨痕诉清风
2020-03-25 11:19:36
Module database cache not built yet, using slow search
墨痕诉清风
2020-03-09 07:07:58
24小時熱門文章