This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 59e2ee843d AMBARI-26495: Ambari server startup failure caused by 
incorrect spring-beans dependency version (#4014)
59e2ee843d is described below

commit 59e2ee843dce40f9fd39adccc3ec742f2448c4ee
Author: Peng Lu <[email protected]>
AuthorDate: Tue May 6 08:52:25 2025 +0800

    AMBARI-26495: Ambari server startup failure caused by incorrect 
spring-beans dependency version (#4014)
---
 ambari-project/pom.xml |  7 ++++++-
 ambari-server/pom.xml  | 15 ++++++++++-----
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 7f5020774a..0245edc24d 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -41,7 +41,7 @@
     <logback.version>1.2.13</logback.version>
     <guice.version>7.0.0</guice.version>
     <spring.version>6.0.23</spring.version>
-    <spring.security.version>6.0.0</spring.security.version>
+    <spring.security.version>6.0.8</spring.security.version>
     <fasterxml.jackson.version>2.18.2</fasterxml.jackson.version>
     
<fasterxml.jackson.databind.version>2.18.2</fasterxml.jackson.databind.version>
     <postgres.version>42.3.9</postgres.version>
@@ -529,6 +529,11 @@
         <artifactId>spring-context</artifactId>
         <version>${spring.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.springframework</groupId>
         <artifactId>spring-context-support</artifactId>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 7ac9ee08aa..24c2d62022 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1317,6 +1317,12 @@
     <dependency>
       <groupId>org.springframework.security</groupId>
       <artifactId>spring-security-core</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.springframework</groupId>
+          <artifactId>spring-beans</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.springframework.security</groupId>
@@ -1594,27 +1600,26 @@
       <groupId>org.springframework</groupId>
       <artifactId>spring-core</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-context</artifactId>
     </dependency>
-
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-beans</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-web</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-websocket</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-messaging</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-webmvc</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to