The Jakarta Servlet API is licensed under the or GNU General Public License, version 2 with the Classpath Exception . It is free to use in commercial and open-source projects.
(Update from official source – typically listed on the Maven Central file page) jakarta.servlet-api-6.0.0.jar download
mvn dependency:get -Dartifact=jakarta.servlet:jakarta.servlet-api:6.0.0 The Jakarta Servlet API is licensed under the
With annotations, web.xml is optional. But if needed, your WEB-INF/web.xml should begin with the Jakarta Servlet 6.0 schema: web.xml is optional. But if needed