<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc" -->

---
title: Spring Boot 3 to 4 Migration: A Real App, Migrated Live
description: Open source support for Spring Boot 3 ended on June 30, 2026. If you are still on 3, this upgrade is coming for you. So let's do one for real. No slides. We...
canonical: https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Spring Boot 3 to 4 Migration: A Real App, Migrated Live | daily.dev
og:description: Open source support for Spring Boot 3 ended on June 30, 2026. If you are still on 3, this upgrade is coming for you. So let's do one for real. No slides. We...
og:url: https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc
og:image: https://api.daily.dev/og/posts/HRGloKUCC.png
og:image:alt: Spring Boot 3 to 4 Migration: A Real App, Migrated Live
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Spring Boot 3 to 4 Migration: A Real App, Migrated Live

**[Dan Vega](https://daily.dev/sources/dan-vega)** · 29 min read · 1 upvotes · 0 comments

## Summary

Open source support for Spring Boot 3 ended on June 30, 2026. If you are still on 3, this upgrade is coming for you. So let's do one for real. No slides. We bump the version and fix whatever breaks.

I take a small conference talks API on Spring Boot 3.5.16 and Java 17 and upgrade it to Spring Boot 4.1.1 and Java 25 on camera. The compiler catches some breaks. Others hide behind a misleading error, a single failing test, or no warning at all. We fix each one and talk about why it happens. Then I show how Spring Application Advisor automates the same upgrade across many apps.

- Why modular auto-configuration in Spring Boot 4 means Flyway silently stops running and the H2 console returns a 404, and which starters bring them back
- How to move from Jackson 2 to Jackson 3: tools.jackson imports, JsonMapperBuilderCustomizer, the immutable JsonMapper builder, and unchecked exceptions
- How to fix broken tests with spring-boot-starter-webmvc-test, the new @WebMvcTest package, and @MockitoBean
- How Jackson 3 changes date output and null handling for primitives, and how to keep your old JSON contract
- How to replace the deprecated JSR-305 style annotations with JSpecify @NullMarked and @Nullable

If this helped, leave a thumbs up, subscribe to the channel, and tell me in the comments which break bit you. Happy coding!

0:00 - Intro: Spring Boot 3 support has ended
1:15 - Tour of the Spring Boot 3 demo app
3:30 - Running the app and checking support dates
4:30 - Why H2 and Flyway just work in Boot 3
5:45 - Bump to Spring Boot 4.1.1 and Java 25
7:00 - Break 1: Jackson 2 to Jackson 3
9:30 - Break 2: Test starters and @MockitoBean
11:30 - Break 3: Flyway never runs
13:30 - Break 4: Dates become ISO strings
15:30 - Break 5: Green build, H2 console gone
17:00 - Break 6: Null safety with JSpecify
19:00 - Break 7: Null seats now returns 400
21:00 - Upgrading at scale: OpenRewrite and Application Advisor
22:30 - Application Advisor demo
25:00 - Wrap up

🔗Resources & Links mentioned in this video:
GitHub Repository: Spring Boot 3 to 4 Migration: https://github.com/danvega/spring-boot-3-4-migration
Spring Boot Support Timeline: https://spring.io/projects/spring-boot
Application Advisor: https://enterprise.spring.io/spring-application-advisor
Spring Initializr: https://start.spring.io
JSpecify: https://jspecify.dev

👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: https://twitter.com/therealdanvega
Github: https://github.com/danvega
LinkedIn: https://www.linkedin.com/in/danvega
Newsletter: https://www.danvega.dev/newsletter

SUBSCRIBE TO MY CHANNEL: https://www.youtube.com/@danvega ❤️

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=HiPkoGTeNJc>

---

Tags: [#java](https://daily.dev/tags/java), [#spring](https://daily.dev/tags/spring), [#spring-boot](https://daily.dev/tags/spring-boot)

[View this post on daily.dev](https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Spring Boot 3 to 4 Migration: A Real App, Migrated Live","url":"https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc"},"datePublished":"2026-09-24T12:26:28.374Z","dateModified":"2026-09-24T14:13:37.960Z","description":"Open source support for Spring Boot 3 ended on June 30, 2026. If you are still on 3, this upgrade is coming for you. So let's do one for real. No slides. We...","image":"https://i.ytimg.com/vi/HiPkoGTeNJc/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/HiPkoGTeNJc/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Dan Vega","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Dan Vega","logo":"https://media.daily.dev/image/upload/s--qCQZxa91--/f_auto,q_auto/v1773648785/logos/dan-vega?_a=BAMAMiiu0","url":"https://daily.dev/sources/dan-vega"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/spring-boot-3-to-4-migration-a-real-app-migrated-live-hrglokucc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,spring,spring-boot","timeRequired":"PT29M","video":{"@type":"VideoObject","name":"Spring Boot 3 to 4 Migration: A Real App, Migrated Live","description":"Open source support for Spring Boot 3 ended on June 30, 2026. If you are still on 3, this upgrade is coming for you. So let's do one for real. No slides. We...","thumbnailUrl":"https://i.ytimg.com/vi/HiPkoGTeNJc/sddefault.jpg","uploadDate":"2026-09-24T12:26:28.374Z","duration":"PT29M","url":"https://api.daily.dev/r/HRGloKUCC","embedUrl":"https://www.youtube.com/embed/HiPkoGTeNJc"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dan Vega","item":"https://daily.dev/sources/dan-vega"},{"@type":"ListItem","position":3,"name":"Spring Boot 3 to 4 Migration: A Real App, Migrated Live"}]}
```

