Go to GitHub to download the source code of spring framework.
Download one version of 3.2.X; ?
Install Gradle software, download it in official website, decompress it, and set GRADLE_HOME and PATH.
Run gradle -v on the command line to check whether the configuration is installed correctly;
Run import-into-eclipse.bat in the root directory of spring framework on the command line.
Enter it twice in a row, and you can start automatic construction;
If you stop halfway, press ctrl+c to stop, and then continue running;
The process takes some time (maybe several hours), depending on the speed of downloading various dependent jar packages and dom files;
In the Eclipse menu file->; Import Select the existing project under the routine to the workspace, and the import is completed.
If you can succeed at one time according to the above steps, it is not only your luck, but also the RP is extremely high. Anyway, I didn't. It took me many times to succeed.