<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek" -->

---
title: Spring Boot 4: Why Flyway Silently Never Runs | daily.dev
description: In Spring Boot 4, Flyway won't fail. It just never runs. Modular auto-configuration means the Flyway dependency alone is no longer enough. Add...
canonical: https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Spring Boot 4: Why Flyway Silently Never Runs | daily.dev
og:description: In Spring Boot 4, Flyway won't fail. It just never runs. Modular auto-configuration means the Flyway dependency alone is no longer enough. Add...
og:url: https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek
og:image: https://api.daily.dev/og/posts/2fCyMF9eK.png
og:image:alt: Spring Boot 4: Why Flyway Silently Never Runs
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 4: Why Flyway Silently Never Runs

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

## Summary

In Spring Boot 4, Flyway won't fail. It just never runs. Modular auto-configuration means the Flyway dependency alone is no longer enough. Add spring-boot-starter-flyway instead of falling back to the classic auto-configure jar.
#SpringBoot #SpringBoot4 #Flyway #Java #Spring

## Full article

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

---

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

[View this post on daily.dev](https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek)

```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 4: Why Flyway Silently Never Runs","url":"https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/spring-boot-4-why-flyway-silently-never-runs-2fcymf9ek"},"datePublished":"2026-10-01T16:27:51.517Z","dateModified":"2026-10-01T18:15:00.958Z","description":"In Spring Boot 4, Flyway won't fail. It just never runs. Modular auto-configuration means the Flyway dependency alone is no longer enough. Add...","image":"https://i.ytimg.com/vi/G4oiGPFD5iU/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/G4oiGPFD5iU/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-4-why-flyway-silently-never-runs-2fcymf9ek","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,spring","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Spring Boot 4: Why Flyway Silently Never Runs","description":"In Spring Boot 4, Flyway won't fail. It just never runs. Modular auto-configuration means the Flyway dependency alone is no longer enough. Add...","thumbnailUrl":"https://i.ytimg.com/vi/G4oiGPFD5iU/sddefault.jpg","uploadDate":"2026-10-01T16:27:51.517Z","duration":"PT1M","url":"https://api.daily.dev/r/2fCyMF9eK","embedUrl":"https://www.youtube.com/embed/G4oiGPFD5iU"}}
{"@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 4: Why Flyway Silently Never Runs"}]}
```

