Teach you step by step how to view Spring source code, including environment construction (already solved various slow download problems)

1. Environment construction:

1. Install the new version of gradle and idea tools, and configure environment variables for gradle (Baidu search, everywhere)

2. Open Idea, through "version control", enter in the URL: https://gitee.com/shark1357/Spring-Framework.git

3. Wait for the plug-in package to be downloaded automatically

4. To solve the problem of slow download of dependent packages, edit the build.gradle file, Ctrl + F to search repositories

maven { url "https://maven.aliyun.com/nexus/content/groups/public" }

 

 5. After the execution of the progress bar below is completed (if it is paused, click the continue button at the back), and build the source code

 

Solve the error:

1. This reason is because the dependent JDK version is not set

 Solution:

In Project Struture-->Project Setting Project and Modules, select a JDK version

Guess you like

Origin blog.csdn.net/shark1357/article/details/109193344