org.springframework:spring-web breaking changes
Updated December 4, 2026
On this page
Latest version 7.1.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.springframework:spring-web 7.0.0 breaking changes
- Removed
Undertow-specific WebSocket and WebFlux low-level HTTP classes were dropped because Undertow does not support Servlet 6.1. github.com - Removed
Support for OkHttp3 was removed. github.com - Removed
Theme support was removed. github.com - Removed
favorPathExtension
The favorPathExtension and ignoreUnknownPathExtensions options and the path extension negotiation strategies were removed. github.com - Removed
javax.annotation.PostConstruct
Annotations in the javax.annotation package are no longer supported. Migrate to the jakarta.annotation equivalents. github.com - Removed
javax.annotation.Resource
Annotations in the javax.annotation package are no longer supported. Migrate to the jakarta.annotation equivalents. github.com - Removed
javax.inject.Inject
Annotations in the javax.inject package are no longer supported. Migrate to the jakarta.inject equivalents. github.com - Removed
ListenableFuture
ListenableFuture was removed in favor of CompletableFuture. github.com - Removed
matchOptionalTrailingSeparator
The matchOptionalTrailingSeparator option in PathPatternParser was removed. github.com - Removed
org.springframework.http.client.ClientHttpResponse.getRawStatusCode
ClientHttpResponse.getRawStatusCode was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.HttpComponentsClientHttpRequestFactory.setBufferRequestBody
HttpComponentsClientHttpRequestFactory.setBufferRequestBody was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods of HttpComponentsClientHttpRequestFactory were removed. central.sonatype.com - Removed
org.springframework.http.client.OkHttp3ClientHttpRequestFactory
org.springframework.http.client.OkHttp3ClientHttpRequestFactory was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.reactive.ReactorNetty2ClientHttpConnector
org.springframework.http.client.reactive.ReactorNetty2ClientHttpConnector was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.reactive.ReactorNetty2ResourceFactory
org.springframework.http.client.reactive.ReactorNetty2ResourceFactory was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.reactive.ReactorResourceFactory
org.springframework.http.client.reactive.ReactorResourceFactory was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.ReactorClientHttpRequestFactory.setExchangeTimeout
ReactorClientHttpRequestFactory.setExchangeTimeout was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.ReactorNettyClientRequestFactory
org.springframework.http.client.ReactorNettyClientRequestFactory was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.SimpleClientHttpRequestFactory.setBufferRequestBody
SimpleClientHttpRequestFactory.setBufferRequestBody was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.client.SimpleClientHttpRequestFactory.setOutputStreaming
SimpleClientHttpRequestFactory.setOutputStreaming was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.codec.CodecConfigurer.CustomCodecs.decoder
org.springframework.http.codec.CodecConfigurer.CustomCodecs.decoder was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.codec.CodecConfigurer.CustomCodecs.encoder
org.springframework.http.codec.CodecConfigurer.CustomCodecs.encoder was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.codec.CodecConfigurer.CustomCodecs.reader
org.springframework.http.codec.CodecConfigurer.CustomCodecs.reader was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.codec.CodecConfigurer.CustomCodecs.withDefaultCodecConfig
org.springframework.http.codec.CodecConfigurer.CustomCodecs.withDefaultCodecConfig was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.codec.CodecConfigurer.CustomCodecs.writer
org.springframework.http.codec.CodecConfigurer.CustomCodecs.writer was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.Builder.creationDate
org.springframework.http.ContentDisposition.Builder.creationDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.Builder.modificationDate
org.springframework.http.ContentDisposition.Builder.modificationDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.Builder.readDate
org.springframework.http.ContentDisposition.Builder.readDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.Builder.size
org.springframework.http.ContentDisposition.Builder.size was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.getCreationDate
ContentDisposition.getCreationDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.getModificationDate
ContentDisposition.getModificationDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.getReadDate
ContentDisposition.getReadDate was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.ContentDisposition.getSize
ContentDisposition.getSize was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.containsKey
HttpHeaders.containsKey was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.containsValue
HttpHeaders.containsValue was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.entrySet
HttpHeaders.entrySet was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.keySet
HttpHeaders.keySet was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.values
HttpHeaders.values was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpHeaders.writableHttpHeaders
HttpHeaders.writableHttpHeaders was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.CHECKPOINT
org.springframework.http.HttpStatus.CHECKPOINT was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.DESTINATION_LOCKED
org.springframework.http.HttpStatus.DESTINATION_LOCKED was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE
org.springframework.http.HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.METHOD_FAILURE
org.springframework.http.HttpStatus.METHOD_FAILURE was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.MOVED_TEMPORARILY
org.springframework.http.HttpStatus.MOVED_TEMPORARILY was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.REQUEST_ENTITY_TOO_LARGE
org.springframework.http.HttpStatus.REQUEST_ENTITY_TOO_LARGE was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.REQUEST_URI_TOO_LONG
org.springframework.http.HttpStatus.REQUEST_URI_TOO_LONG was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.HttpStatus.USE_PROXY
org.springframework.http.HttpStatus.USE_PROXY was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.MediaType.APPLICATION_GRAPHQL
org.springframework.http.MediaType.APPLICATION_GRAPHQL was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.MediaType.APPLICATION_GRAPHQL_VALUE
org.springframework.http.MediaType.APPLICATION_GRAPHQL_VALUE was removed in org.springframework:spring-web 7.0.0 central.sonatype.com - Removed
org.springframework.http.MediaType.APPLICATION_JSON_UTF8
org.springframework.http.MediaType.APPLICATION_JSON_UTF8 was removed in org.springframework:spring-web 7.0.0 central.sonatype.com
And 116 more in this version. Sign up to see every change
org.springframework:spring-web 7.0.0-RC3 breaking changes
- Removed
BeanRegistrarDsl
BeanRegistrarDsl no longer accepts callable references. Use another form, such as a lambda, instead. github.com - Removed
RestTestClient
RestTestClient no longer depends on Hamcrest, so code relying on Hamcrest through it must add that dependency itself. github.com - Behavior changed
SpringExtension
SpringExtension now uses a test-method scoped ExtensionContext, which can change behavior for code that depends on the context's scope. github.com
org.springframework:spring-web 7.0.0-M9 breaking changes
- Removed
Undertow is no longer supported because it is not compatible with Servlet 6.1. github.com - Removed
HttpServiceClient
The HttpServiceClient annotation is no longer supported and code using it must be changed. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The nestedTransactionAllowed flag now has a different default; set it explicitly if the old value is needed. github.com - Signature changed
Jackson 3 constructors for JSON now accept only JsonMapper instances, so other arguments must be changed. github.com
org.springframework:spring-web 7.0.0-M8 breaking changes
- Renamed
ApiVersionConfigurer.useRequestParam
Calls to useRequestParam on ApiVersionConfigurer must switch to useQueryParam. github.com
org.springframework:spring-web 7.0.0-M7 breaking changes
- Removed
RetryPolicy.maxDuration
Code that sets maxDuration or maxElapsedTime on RetryPolicy must be changed to use other limits. github.com - Renamed
orm.hibernate5
Imports from the old orm.hibernate5 package must point to orm.jpa.hibernate for Hibernate ORM 7.0. github.com - Behavior changed
RetryPolicy
Built-in RetryPolicy implementations can no longer be subclassed. github.com - Default changed
InstanceFilter.matchIfEmpty
Filters with no configured criteria now match by default; set matchIfEmpty explicitly if the old behavior is needed. github.com - Signature changed
RetryPolicy
RetryPolicy now includes BackOff directly, so code using the previous design must be updated. github.com
org.springframework:spring-web 7.0.0-M6 breaking changes
- Removed
MockEnvironment.setProperty
The (String, String) variant of setProperty() is removed from MockEnvironment. github.com - Removed
MockEnvironment.withProperty
The (String, String) variant of withProperty() is removed from MockEnvironment. github.com
Older versions
15 older versions, each with its first changes. Sign up to see every change
Show 15 older versions
org.springframework:spring-web 7.0.0-M4 breaking changes
- Configuration changed
The framework now requires Servlet 6.1 and WebSocket 2.2. Older servlet containers will no longer work. github.com
org.springframework:spring-web 7.0.0-M3 breaking changes
- Removed
Convention-based annotation attribute overrides are no longer supported. github.com - Removed
BeanRegistrar
BeanRegistrar no longer supports Aware interfaces. github.com
And 1 more in this version.
org.springframework:spring-web 7.0.0-M2 breaking changes
- Removed
Netty 5 support is removed. github.com - Behavior changed
AbstractJdbcCall
Configuring AbstractJdbcCall after it is compiled is now prevented. github.com
And 3 more in this version.
org.springframework:spring-web 7.0.0-M1 breaking changes
- Removed
Path mapping options that were marked as deprecated for removal are removed. github.com - Behavior changed
ClassUtils.forName
ClassUtils.forName() no longer handles binary array names. Code relying on that form must change. github.com
And 1 more in this version.
org.springframework:spring-web 6.0.0 breaking changes
- Removed
org.springframework.http.client.AsyncClientHttpRequest
org.springframework.http.client.AsyncClientHttpRequest was removed in org.springframework:spring-web 6.0.0 central.sonatype.com - Removed
org.springframework.http.client.AsyncClientHttpRequestExecution
org.springframework.http.client.AsyncClientHttpRequestExecution was removed in org.springframework:spring-web 6.0.0 central.sonatype.com
And 438 more in this version.
org.springframework:spring-web 6.0.0-RC4 breaking changes
- Behavior changed
The build now targets Servlet 6.0 while runtime compatibility is kept for Servlet 5.0, which can affect apps on the Servlet 5 API. github.com
org.springframework:spring-web 6.0.0-RC3 breaking changes
- Behavior changed
When ResponseEntity and ProblemDetail disagree on the HTTP status, the resolved status now follows a new rule. github.com
org.springframework:spring-web 6.0.0-RC2 breaking changes
- Behavior changed
Using RegisterReflectionForBinding without any class is now rejected, so such annotations must specify at least one class. github.com - Behavior changed
SimpleEvaluationContext
SimpleEvaluationContext no longer allocates arrays, which can change expression evaluation results. github.com
And 3 more in this version.
org.springframework:spring-web 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
Use AotApplicationContextInitializer instead of ApplicationContextAotInitializer. github.com - Renamed
TestCompiler
TestCompiler now lives in a dedicated package, so imports of the old location must be updated. github.com
And 6 more in this version.
org.springframework:spring-web 6.0.0-M6 breaking changes
- Removed
Setting the default CacheAwareContextLoaderDelegate via a system property is no longer supported. github.com - Removed
GenericPropertiesContextLoader
The deprecated GenericPropertiesContextLoader has been removed from the TestContext framework. github.com
And 5 more in this version.
org.springframework:spring-web 6.0.0-M5 breaking changes
- Behavior changed
Nested exception messages no longer include the messages from their causal chain. github.com - Behavior changed
Spring MVC now uses PathPatternParser by default for request mapping, which can change how existing path patterns match. github.com
And 1 more in this version.
org.springframework:spring-web 6.0.0-M4 breaking changes
- Removed
org.springframework.core.NestedIOException
Removes NestedIOException in org.springframework:spring-web 6.0.0-M4 github.com - Removed
TYPE_HIERARCHY_AND_ENCLOSING_CLASSES
Removes TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy in org.springframework:spring-web 6.0.0-M4 github.com
And 3 more in this version.
org.springframework:spring-web 6.0.0-M3 breaking changes
- Removed
SocketUtils
Removes deprecated SocketUtils in org.springframework:spring-web 6.0.0-M3 github.com - Behavior changed
@Bean
@Bean methods with the same name are no longer allowed by default and must be renamed. github.com
And 1 more in this version.
org.springframework:spring-web 6.0.0-M2 breaking changes
- Behavior changed
WebSocketConfigurationSupport
Code that depended on the TaskScheduler bean from this configuration must define its own. github.com
org.springframework:spring-web 6.0.0-M1 breaking changes
- Removed
Support for the deprecated Java SecurityManager is removed. github.com - Behavior changed
APIs and annotations move from javax.* to the jakarta.* namespace, so imports must be updated. github.com
And 5 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- org.springframework:spring-beans
- org.springframework:spring-context
- org.springframework:spring-context-support
- org.springframework:spring-core
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.