jakarta.servlet:jakarta.servlet-api breaking changes
jakarta.servlet:jakarta.servlet-api 6.0.0 (May 12, 2022) is its newest release with breaking changes, 21 of them. The first: Removed jakarta.servlet.http.HttpServletRequest.getRealPath. Every breaking API change we have recorded in jakarta.servlet:jakarta.servlet-api on Maven Central: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.0, released May 24, 2024.
Packages on Maven Central run on Java. Java end of life dates.
jakarta.servlet:jakarta.servlet-api 6.0.0 breaking changes
- Removed
jakarta.servlet.http.HttpServletRequest.getRealPath
HttpServletRequest.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl
HttpServletRequest.isRequestedSessionIdFromUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpServletRequestWrapper.getRealPath
HttpServletRequestWrapper.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpServletResponse.encodeRedirectUrl
HttpServletResponse.encodeRedirectUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpServletResponse.encodeUrl
HttpServletResponse.encodeUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSession.getSessionContext
HttpSession.getSessionContext was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSession.getValue
HttpSession.getValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSession.getValueNames
HttpSession.getValueNames was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSession.putValue
HttpSession.putValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSession.removeValue
HttpSession.removeValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpSessionContext
jakarta.servlet.http.HttpSessionContext was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.http.HttpUtils
jakarta.servlet.http.HttpUtils was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.ServletContext.getServlet
ServletContext.getServlet was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.ServletContext.getServletNames
ServletContext.getServletNames was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.ServletContext.getServlets
ServletContext.getServlets was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.ServletRequest.getRealPath
ServletRequest.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.SingleThreadModel
jakarta.servlet.SingleThreadModel was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Removed
jakarta.servlet.UnavailableException.getServlet
UnavailableException.getServlet was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Signature changed
jakarta.servlet.http.HttpServletResponse.setStatus
The signature of HttpServletResponse.setStatus changed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Signature changed
jakarta.servlet.ServletContext.log
The signature of ServletContext.log changed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com - Signature changed
jakarta.servlet.UnavailableException.<init>
The signature of UnavailableException.<init> changed in jakarta.servlet:jakarta.servlet-api 6.0.0 central.sonatype.com
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.