From efee53fbd784e9c87cde5d0948625915f3ca6b03 Mon Sep 17 00:00:00 2001 From: Denis Stepulenok Date: Mon, 2 Nov 2026 03:53:41 +0100 Subject: [PATCH] Fix build: add Jakarta Servlet API and upgrade war plugin for JDK 17 ApplicationController imports jakarta.servlet.http, but the pom only provided the javax.servlet API (javaee-web-api 6.0), so compilation failed. The CI build step turned that failure into a warning, so the job stayed green. - Add jakarta.servlet:jakarta.servlet-api 6.0.0 with provided scope. - Upgrade maven-war-plugin 2.3 to 3.4.0. Version 2.3 cannot load on JDK 17 (TreeMap.comparator is not opened to the unnamed module), so the verify step failed during packaging. Co-Authored-By: Claude Haiku 5.5 --- pom.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5764920..cfb6829 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,13 @@ javaee-web-api 6.0 provided + + + + jakarta.servlet + jakarta.servlet-api + 6.0.0 + provided @@ -176,7 +183,7 @@ org.apache.maven.plugins maven-war-plugin - 2.3 + 3.4.0 false