Skip to main content

Maven/Gradle with Spring Boot

Learn Maven/Gradle with Spring Boot (Spring Boot Basics, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Two Jobs the Build Tool Does for Boot Spring Boot needs its build tool for two things beyond compiling, and both are provided by a plugin you get from Initializr. Neither is optional. Without the first you are back to matching Spring, Hibernate and Jackson versions by hand; without the second, java -jar fails with no main manifest attribute .

More lessons in Spring Boot Basics