# spring5.1x源码注释版本 **Repository Path**: liucaili/spring-framework5.1x-v1 ## Basic Information - **Project Name**: spring5.1x源码注释版本 - **Description**: spring-framework5.1x版本源码注释 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 3 - **Created**: 2021-03-24 - **Last Updated**: 2025-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring5.1x源码注释版本 #### Description spring-framework5.1x版本源码注释 注意: 可能由于自己原因: 使用idea的2018版本没有构建成功,使用2020.2版本构建编译通过 #### 提供spring源码学习使用 #### 编译步骤 1. 查看\gradle\wrapper\gradle-wrapper.properties 文件中的gradle版本,根据此版本下载对应的gradle 2. 修改build.gradle配置文件引用阿里maven仓库 3. ``` 第一处: repositories { gradlePluginPortal() maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'} maven { url "https://repo.spring.io/plugins-release" } } ``` 4. ``` 第二处: repositories { maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/'} maven{ url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'} mavenCentral() maven { url "https://repo.spring.io/libs-spring-framework-build" } //mavenCentral() } ``` 5. 进入代码目录执行: gradle :spring-oxm:compileTestJava 会出现build successful则编译成功 6. 使用idea导入spring源码,可自行百度 ​ ​ # Spring Framework This is the home of the Spring Framework: the foundation for all [Spring projects](https://spring.io/projects). Collectively the Spring Framework and the family of Spring projects is often referred to simply as "Spring". Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the [Overview](https://docs.spring.io/spring/docs/current/spring-framework-reference/overview.html#spring-introduction) section as reference for a more complete introduction. ## Code of Conduct This project is governed by the [Spring Code of Conduct](CODE_OF_CONDUCT.adoc). By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io. ## Access to Binaries For access to artifacts or a distribution zip, see the [Spring Framework Artifacts](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Artifacts) wiki page. ## Documentation The Spring Framework maintains reference documentation ([published](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/) and [source](src/docs/asciidoc)), Github [wiki pages](https://github.com/spring-projects/spring-framework/wiki), and an [API reference](https://docs.spring.io/spring-framework/docs/current/javadoc-api/). There are also [guides and tutorials](https://spring.io/guides) across Spring projects. ## Build from Source See the [Build from Source](https://github.com/spring-projects/spring-framework/wiki/Build-from-Source) Wikipedia page and the [CONTRIBUTING.md](CONTRIBUTING.md) file. ## Stay in Touch Follow [@SpringCentral](https://twitter.com/springcentral), [@SpringFramework](https://twitter.com/springframework), and its [team members](https://twitter.com/springframework/lists/team/members) on Twitter. In-depth articles can be found at [The Spring Blog](https://spring.io/blog/), and releases are announced via our [news feed](https://spring.io/blog/category/news). ## License The Spring Framework is released under version 2.0 of the [Apache License](https://www.apache.org/licenses/LICENSE-2.0).