Add spring-web where spring-boot-starter-json brought it in

Proprietary

In Spring Boot 3, spring-boot-starter-json depended on spring-web; in Spring Boot 4 it no longer does. Modules that declare spring-boot-starter-json without a web starter and use org.springframework.web types get spring-web added directly.

io.moderne.java.spring.boot4.AddSpringWebForStarterJson
mod run . --recipe=io.moderne.java.spring.boot4.AddSpringWebForStarterJson

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add Gradle or Maven dependency org.springframework:spring-web