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 fe47248ff9 AMBARI-26295: ambari-server start error: Caused by:
java.lang.AbstractMethodError (#3943)
fe47248ff9 is described below
commit fe47248ff9ea9d49e4fa1768bcc420b965074bde
Author: Peng Lu <[email protected]>
AuthorDate: Tue Jul 1 09:32:15 2025 +0800
AMBARI-26295: ambari-server start error: Caused by:
java.lang.AbstractMethodError (#3943)
* AMBARI-26295: ambari-server start error: Caused by:
java.lang.AbstractMethodError
* Remove redundant hadoop.version
* Remove duplicate dependency
---------
Co-authored-by: Wei-Chiu Chuang <[email protected]>
---
ambari-agent/pom.xml | 16 ++++++++++++++++
ambari-server/pom.xml | 22 +++++++++++++++++++++-
ambari-utility/pom.xml | 12 ++++++++++++
3 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index f840dfdc9e..e58ff03956 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -176,6 +176,22 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-servlet</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 01cdda6ee7..b1f5f2ad39 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1655,7 +1655,6 @@
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@@ -1806,6 +1805,11 @@
<artifactId>FastInfoset</artifactId>
<version>${FastInfoset.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.2.3-1</version>
+ </dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
@@ -1945,6 +1949,22 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-servlet</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/ambari-utility/pom.xml b/ambari-utility/pom.xml
index a93cae4078..0a3be2368e 100644
--- a/ambari-utility/pom.xml
+++ b/ambari-utility/pom.xml
@@ -64,6 +64,18 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-multipart</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]