Failure to transfer org.springframework:spring-jdbc:jar:2.5.6 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 org.springframework:spring-jdbc:jar:2.5.6 from/to central (http://repo1.maven.org/maven2): No response received after 60000
只时我打开window command窗口,在dos下进入到pom.xml文件所在目录,执行如下命令
mvn -U test
就好了
本文介绍了一种解决Maven项目中出现的依赖文件下载失败问题的方法,通过更新Maven缓存并重新尝试下载,成功解决了无法从中央仓库获取特定版本的spring-jdbc依赖的问题。
1395

被折叠的 条评论
为什么被折叠?



