From 75bc470670e96a276be86d361664bf4a8a9b8204 Mon Sep 17 00:00:00 2001 From: lexluo09 <39718951+lexluo09@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:40:49 +0800 Subject: [PATCH] (improvement)(build) Fix the .NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2 error (#1682) --- common/pom.xml | 4 ++++ pom.xml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/common/pom.xml b/common/pom.xml index cfc08a198..b8ecd2ddf 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -239,6 +239,10 @@ gson + + org.codehaus.woodstox + stax2-api + diff --git a/pom.xml b/pom.xml index ffab9d840..1f6d8bc3e 100644 --- a/pom.xml +++ b/pom.xml @@ -76,6 +76,7 @@ 15.0.2 2.10.1 2.27.1 + 4.2.1 @@ -185,6 +186,11 @@ gson ${gson.version} + + org.codehaus.woodstox + stax2-api + ${stax2.version} +