diff --git a/service/pom.xml b/service/pom.xml
index 602aacd9e4388cbdf64f7edc92c45ff9bcdfa101..21a9e14d092444355da3720f5c47b5d9c0a4fb56 100644
--- a/service/pom.xml
+++ b/service/pom.xml
@@ -161,6 +161,10 @@
 			<version>${greenmail.version}</version>
 			<scope>test</scope>
 			<exclusions>
+				<exclusion>
+					<groupId>com.sun.activation</groupId>
+					<artifactId>jakarta.activation</artifactId>
+				</exclusion>
 				<exclusion>
 					<groupId>org.slf4j</groupId>
 					<artifactId>slf4j-api</artifactId>