This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Boot 3.5.7!

Deprecated Application Properties

The following deprecated properties can be specified inside your application.properties file, inside your application.yaml file, or as command line switches. Support for these properties will be removed in a future release and should you should migrate away from them.

Spring Boot includes a useful spring-boot-properties-migrator tool to help you migrate away from deprecated properties. To use the property migrator tool, add the following dependency to your project:

  • Maven

  • Gradle

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-properties-migrator</artifactId>
	<scope>runtime</scope>
</dependency>
runtimeOnly("org.springframework.boot:spring-boot-properties-migrator")

Once added as a dependency to your project, the tool will not only analyze your application’s environment and print diagnostics at startup, but also temporarily migrate properties at runtime for you.

Remember to remove the dependency when your migration is complete.

Deprecated Actuator Properties

Deprecated Data Migration Properties

Name Description Default Value

spring.sql.init.enabled

Replaced by spring.sql.init.mode

true

Deprecated JSON Properties

Name Description Default Value

spring.gson.lenient

Replaced by spring.gson.strictness

spring.jackson2.constructor-detector

Deprecated in favor of Jackson 3

default

spring.jackson2.datatype.enum.*

Deprecated in favor of Jackson 3

spring.jackson2.datatype.json-node.*

Deprecated in favor of Jackson 3

spring.jackson2.date-format

Deprecated in favor of Jackson 3

spring.jackson2.default-leniency

Deprecated in favor of Jackson 3

spring.jackson2.default-property-inclusion

Deprecated in favor of Jackson 3

spring.jackson2.deserialization.*

Deprecated in favor of Jackson 3

spring.jackson2.generator.*

Deprecated in favor of Jackson 3

spring.jackson2.locale

Deprecated in favor of Jackson 3

spring.jackson2.mapper.*

Deprecated in favor of Jackson 3

spring.jackson2.parser.*

Deprecated in favor of Jackson 3

spring.jackson2.property-naming-strategy

Deprecated in favor of Jackson 3

spring.jackson2.serialization.*

Deprecated in favor of Jackson 3

spring.jackson2.time-zone

Deprecated in favor of Jackson 3

spring.jackson2.visibility.*

Deprecated in favor of Jackson 3