"Step by Step" Spring Source environment construction

Source: Internet
Author: User

Usually the project will use spring, but the source has not been in-depth understanding. Take advantage of this period of time a little idle, began to study the spring source. Here is the spring source of the environment to build.

Mainly divided into the following steps:

① installation Jdk,gradle,git

② Download Spring Framework code from GitHub

③ compiled into the IDE.

The first step of the installation process is skipped.

After the JDK is successfully installed, it is output via java-v:

Gradle install the entire post through input Gradle-verson

The version is older because I installed it before.

and git

The first step above has been completed.

The second step is to download the source code from GitHub.

If you are using idea. The following is a procedure for configuring GitHub users.

① configuring Git and pointing to the local installation path

② Configure GitHub account and test

③ Clone Spring Framework code from GitHub

This operation is more time-consuming. After the download is completed in the docking directory will appear in the spring source code.

The second step above is complete.

The following is a more important step.

Because I'm using idea, I'm just referring to the method of introduction.

First run under the source path:

Gradlew:spring-oxm:compiletestjava to compile. This operation is also time consuming.

You can then import it by using (File-, New-Existing Sources, Navigate to directory, Select Build.gradle).

The final results are as follows:

Congratulations on all your import success. Start a fun source tour!!!

"Step by Step" Spring Source environment construction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.