I am currently trying to learn how to create websites using Java EE and Spring. Looking at Spring's REST tutorial, however, the part where it explains how to create a project and link to spring essentially gives magic code to copy/paste, without explaining how it works, or how I would go about finding that code block if the tutorial was not there to give it to me. Their other tutorials that I have looked at are similar in this regard. It has a basic tutorial on how Gradle works, but that is insufficient to understand what is going on in the magic code because significant amounts of new syntax are used in their Rest tutorial.
What I must do in order to only use the tools that come with the JDK (ie. javac) to build a Spring application? Does Spring have some hidden (possibly large) set of jars I can simply add as dependencies and then extract into my final jar, and make it work? If not, and I want to compile a Spring application using only javac and other JDK-default tools how can I do so?
I have tried various Google searches for details on how Spring applications are built, but all I can find consists of more tutorials like the one that I linked that give magic code, where I am given something that works in one context, but no explanation of how it does so or how I can modify it for different contexts.