请编辑以保持此镜像列表为最新
我发现这个maven仓库,你可以从这里直接下载一个zip文件包含所有你需要的jar。
替代解决方案:Maven
我喜欢的解决方案是使用Maven,它很容易,你不必单独下载每个jar。您可以执行以下步骤:
>使用任何您喜欢的名称创建一个空文件夹,例如spring-source
>创建一个名为pom.xml的新文件
>将下面的xml复制到此文件中
>在控制台中打开spring-source文件夹
>运行mvn install
>下载完成后,您会在/ spring-source / target / dependencies中找到spring jars
4.0.0
spring-source-download
SpringDependencies
1.0
UTF-8
org.springframework
spring-context
3.2.4.RELEASE
org.apache.maven.plugins
maven-dependency-plugin
2.8
download-dependencies
generate-resources
copy-dependencies
${project.build.directory}/dependencies
此外,如果您需要下载任何其他spring项目,只需从其相应的网页复制依赖配置。
例如,如果要下载Spring Web Flow jars,请转到其web page,并将其依赖关系配置添加到pom.xml依赖项,然后再次运行mvn install。
org.springframework.webflow
spring-webflow
2.3.2.RELEASE