Spring Boot 3.x
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Enable Virtual Threads on Java 21
- Migrate Spring Boot properties to 3.0
- Migrate Spring Boot properties to 3.1
- Migrate Spring Boot properties to 3.2
- Migrate Spring Boot properties to 3.3
- Migrate dropWizard dependencies to Spring Boot 3.x
- Migrate thymeleaf dependencies to Spring Boot 3.x
- Migrate to Spring Boot 3.0
- Migrate to Spring Boot 3.1
- Migrate to Spring Boot 3.2
- Migrate to Spring Boot 3.3
- Relocate Launcher Classes
- Remove the deprecated properties
additional-keys-to-sanitize
from theconfigprops
andenv
end points - Spring Boot 3.x best practices
Recipes
- Add
@Configuration
to classes with@EnableXXXSecurity
annotations - Add
SetUseTrailingSlashMatch()
in configuration - Add trailing slash to Spring routes
- Bean methods should return concrete types
- Downgrade Jakarta Servlet API to 5.0 when using Jetty
- Enable Spring Batch Annotation
- Maintain trailing slash URL mappings
- Migrate
WebMvcTagsProvider
toDefaultServerRequestObservationConvention
- Remove
SolrAutoConfiguration
- Remove Unnecessary
@ConstructorBinding
- Rename
server.max-http-header-size
toserver.max-http-request-header-size