<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Course Introduction · Learn Spring Boot 4</title><link>https://learn-spring-boot-4.pages.dev/01-introduction/index.html</link><description>Get a JDK and a generated project running, then meet the parts every Spring Boot app is made of.</description><generator>Hugo</generator><language>en</language><atom:link href="https://learn-spring-boot-4.pages.dev/01-introduction/index.xml" rel="self" type="application/rss+xml"/><item><title>Setup: JDK &amp; Project</title><link>https://learn-spring-boot-4.pages.dev/01-introduction/00-setup/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-spring-boot-4.pages.dev/01-introduction/00-setup/index.html</guid><description>Install the JDK Spring Boot 4 needs Java 17 or newer and supports Java 25. Take the newest LTS:
# macOS brew install --cask temurin@25 # Linux sudo apt install openjdk-25-jdk # Windows winget install EclipseAdoptium.Temurin.25.JDK # any platform, several versions side by side sdk install java 25-tem # sdkman.io java --version # openjdk 25 … No Maven or Gradle install needed — generated projects ship a wrapper.</description></item><item><title>Your First Application</title><link>https://learn-spring-boot-4.pages.dev/01-introduction/01-first-app/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://learn-spring-boot-4.pages.dev/01-introduction/01-first-app/index.html</guid><description>The entry point package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } } @SpringBootApplication is three annotations in one:
Annotation Job @SpringBootConfiguration this class may declare beans @ComponentScan find components in this package and below @EnableAutoConfiguration configure what the classpath suggests Warning Component scanning starts at the application class’s package. Keep it at the root — classes in a sibling package are invisible.</description></item></channel></rss>