From dfdaa94812541522887c77de415bd283e4e37c28 Mon Sep 17 00:00:00 2001 From: hwhbj Date: Mon, 10 Mar 2025 15:41:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCM-RESTAPI=20CVE=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 12 ++++++++++-- .../org/opengauss/cmrestapi/CMRestAPIServer.java | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f3c2bd8..92fbabe 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.boot @@ -15,6 +15,9 @@ Project for CMRestAPI 1.8 + 10.1.34 + 5.3.32 + 1.3.14 @@ -32,6 +35,11 @@ gson 2.9.0 + + jakarta.servlet + jakarta.servlet-api + 6.0.0 + @@ -50,4 +58,4 @@ - + \ No newline at end of file diff --git a/src/main/java/org/opengauss/cmrestapi/CMRestAPIServer.java b/src/main/java/org/opengauss/cmrestapi/CMRestAPIServer.java index 5db6c87..e16b72e 100644 --- a/src/main/java/org/opengauss/cmrestapi/CMRestAPIServer.java +++ b/src/main/java/org/opengauss/cmrestapi/CMRestAPIServer.java @@ -14,7 +14,7 @@ */ package org.opengauss.cmrestapi; -import javax.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletRequest; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PutMapping; -- Gitee