我想通過STS將commons-fileupload和commons-io庫添加到我的項目中。 當我試圖在我的pom.xml依賴增加和更新,我一直在下面無誤地接收所有版本公用文件上傳和公用文件上傳的maven依賴項
Maven dependency problem
ArtifactDescriptorException: Failed to read artifact descriptor for commons-fileupload:commons-fileupload:jar:1.1:
ArtifactResolutionException: Failure to transfer commons-fileupload:commons-fileupload:pom:1.1 from http://repo1.maven.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 commons-fileupload:commons-fileupload:pom:1.1 from/to central (http://repo1.maven.org/maven2): Connect times out
我試圖從MVN查找
http://mvnrepository.com/artifact/commons-io/commons-io/2.4
http://mvnrepository.com/artifact/commons-fileupload/commons-fileupload/1.2.2
我沒有問題與其他圖書館, 進出口使用SpringSource工具套件特別版共享記錄:2.9.2.RELEASE我的春天項目
感謝所有的答覆
似乎你有一個連接問題('連接超時')。請在瀏覽器中嘗試以下網址:http://repo1.maven.org/maven2/commons-io/commons-io/2.4/ – 2012-07-23 07:35:43
同時從您的本地存儲庫中刪除相關文件夾,以便maven重試。 – Raghuram 2012-07-23 07:42:46