How eclipse reads Spring source

Source: Internet
Author: User

Recently read the spring source, and then prepare to do a lot of work, first of all, say a tutorial online it;

http://blog.csdn.net/zeuskingzb/article/details/41425421 this is used in Git plus gradle plus JDK8 plus groovy,spring source in-depth analysis of the book also mentioned. Then after downloading a variety of environmental problems, in addition Gradle sincerely will not use, engaged for a few days, helpless, intends to change a way of thinking; I am not here to evade the problem, but to bypass the problem, the cowardly person will evade the problem, the diligent person will solve the problem, and the wise man will bypass the problem. I just want to read the spring source, there's no need to learn groovy and gradle. Well, here is a very primitive way to read the source code, of course, is the simplest.

First we use git to download the spring source on the official website. After downloading, the resolution is saved to the local directory;

It's supposed to be the same structure.

Here I have a project called

A lot of spring racks were introduced into the project.


Here I want to see the context of the source of what to do, open the context directory, casually open a will see


This question, I have been engaged for a long while, finally found actually very simple.

First, right buld path to this rack.


Then the mouse points to source attachment, click Edit


Location path Select the rack package you want to read


External file also select the rack package that you want to read

Finally click External folder

Find the location of the source code you downloaded


Click OK, then OK, then open the class file and it becomes


OK, so we can debug while reading the source code, although it is a stupid method, but really very simple. It's not as complicated as it says online.

How eclipse reads Spring source

Related Article

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.