【发布时间】:2016-12-21 14:16:02
【问题描述】:
我正在尝试在 https://projects.spring.io/spring-framework/ 站点中为我的 java 应用程序下载 spring 框架,但问题是没有下载选项。
谁能帮帮我。
【问题讨论】:
标签: spring
我正在尝试在 https://projects.spring.io/spring-framework/ 站点中为我的 java 应用程序下载 spring 框架,但问题是没有下载选项。
谁能帮帮我。
【问题讨论】:
标签: spring
只需从https://repo.spring.io/release/org/springframework/spring/ 下载最新的 zip 版本。然后解压缩并将其添加到您的项目中
【讨论】:
选择您需要的模块并在https://start.spring.io/中生成一个初始项目
【讨论】:
你可以使用这个网站对于任何框架,例如spring: https://jar-download.com/artifacts/org.springframework/spring-core
【讨论】:
您的问题已经有一个answer。
但是,如果您使用的是 maven 或 gradle(依赖管理工具),则您拥有在您提供的站点上使用 Spring Framework 所需的 sn-ps。只需将这些添加到您的依赖项中:
行家:
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.2.RELEASE</version>
</dependency>
</dependencies>
GRADLE
dependencies {
compile 'org.springframework:spring-context:4.3.2.RELEASE'
}
【讨论】:
【讨论】: