I created a simple standalone Spring application in Eclipse as a Java application (and not using maven or gradle). I manually downloaded the needed Spring framework jars, and the application works fine.
Now, I wanted to debug the code and see the flow of code inside the Spring source as well. Hence I downloaded the source code of Spring , as a Zip file. I extracted the source code in a specific location in the file system.
Now, how do I add the Spring source code into the project?
Some of the things that i did are as below:
1) I tried to use the
First of all, there's nothing to be debuged at @Autowire is just an annotation. The only thing you will see there is its attributes. That's it. The interesting code is in
Anyways, if you want to attach source zips to a jar. In Eclipse is as easy as:
Here an example of the process.
If you are insterested on how Annotations works. I suggest this tutorial Java Tutorial - Annotations.