Spring jars 下载
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28248777/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Spring Jars to download
提问by Aalekh
I am using below link for downloading spring jars. http://repo.spring.io/release/org/springframework/spring/4.1.4.RELEASE/
我正在使用以下链接下载弹簧罐。 http://repo.spring.io/release/org/springframework/spring/4.1.4.RELEASE/
I am confused with so many links. Which link should i use to download the jar? I am using a Windows machine and create a project directly through New Java Project.
我对这么多链接感到困惑。我应该使用哪个链接来下载 jar?我正在使用 Windows 机器并直接通过 New Java Project 创建一个项目。
回答by Lova Chittumuri
Please refer this url http://repo.spring.io/release/org/springframework/spring/and Choose the which version Spring Jars you want.
请参考此网址http://repo.spring.io/release/org/springframework/spring/并选择您想要的 Spring Jars 版本。
Choose the spring-framework-X.X.X.RELEASE-dist.zip
选择 spring-framework-XXXRELEASE-dist.zip
回答by SMA
回答by cryptonkid
Important points to understand in all the spring related repo is that it contains 3 zip files .
在所有与 spring 相关的 repo 中要了解的要点是它包含 3 个 zip 文件。
- spring-framework-{version}-dist.zip: contains all the spring related jars.
- spring-framework-{verison}-docs.zip: contains all the standard documents in HTML format for spring and related java api documents. It is similar to Oracle API Documentation. **Note : Inside all the folders you will find and index.html file. U can consume it typing the folder path till index.html in web browser.
- spring-framework-{version}-schema.zip*: contains all the spring modules based standard xsd for xml based spring development.
- spring-framework-{version}-dist.zip:包含所有与 spring 相关的 jars。
- spring-framework-{verison}-docs.zip:包含 spring 和相关 java api 文档的 HTML 格式的所有标准文档。它类似于 Oracle API 文档。**注意:在所有文件夹中,您将找到 index.html 文件。你可以使用它在网络浏览器中输入文件夹路径直到 index.html。
- spring-framework-{version}-schema.zip*:包含所有基于标准 xsd 的 spring 模块,用于基于 xml 的 spring 开发。
回答by AbhijitG
I hit the same issue and I followed Brian Clozel advice above.
我遇到了同样的问题,我遵循了上面的布赖恩 Clozel 建议。
- Create a new Maven project in eclipse.
Edit the pom.xml and add the Spring dependencies as follows -
org.springframework spring-core 5.0.6.RELEASE
- 在 Eclipse 中创建一个新的 Maven 项目。
编辑 pom.xml 并添加 Spring 依赖项,如下所示 -
org.springframework 弹簧核心 5.0.6.RELEASE
When you build the project in eclipse,it hits the maven repo and downloads the requisite spring jars for you. The indirect dependencies should also be downloaded automatically.
当您在 Eclipse 中构建项目时,它会访问 Maven 存储库并为您下载必需的 spring jar。间接依赖项也应该自动下载。
Hope this helps.
希望这可以帮助。


